Posted by R. Rajesh Jeba Anbiah on 12/18/56 11:50
Skrol29 wrote:
> Hello,
>
> It can be very usefull to code:
> $obj = new stdClass;
> Unfortunately the few that the documentation officially tells about
> this class is:
<snip>
IIRC, it's a base PHP class. It is usually used to stuff properties:
$config = new stdClass;
$config->name = 'Foo site';
$config->db = 'foo';
--
<?php echo 'Just another PHP saint'; ?>
Email: rrjanbiah-at-Y!com Blog: http://rajeshanbiah.blogspot.com/
[Back to original message]
|