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.
No comments:
Post a Comment