You are here: Re: is stdClass officially supported by PHP ? « PHP Programming Language « IT news, forums, messages
Re: is stdClass officially supported by PHP ?

Posted by R. Rajesh Jeba Anbiah on 10/24/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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация