Recent Posts

Showing posts with label stdClass. Show all posts
Showing posts with label stdClass. Show all posts

Definitions: stdClass in PHP

stdClass is PHP's generic empty class, kind of like Object in Java or object in Python (Edit: but not actually used as universal base class;).

It is useful for anonymous objects, dynamic properties, etc.

See Dynamic Properties in PHP and StdClass for example.