Hello,
It can be very usefull to code:
$obj = new stdClass;
Unfortunately the few that the documentation officially tells about
this class is:
*************** ***************
The name stdClass is used internally by Zend and is reserved. You
cannot have a class named stdClass in PHP.
*************** ***************
It seems that some Pear packages instanciate this class.
But should we do the same for code intended for public releases?
--------------------------------------
Skrol29
--------------------------------------
It can be very usefull to code:
$obj = new stdClass;
Unfortunately the few that the documentation officially tells about
this class is:
*************** ***************
The name stdClass is used internally by Zend and is reserved. You
cannot have a class named stdClass in PHP.
*************** ***************
It seems that some Pear packages instanciate this class.
But should we do the same for code intended for public releases?
--------------------------------------
Skrol29
--------------------------------------
Comment