Hi, PHP itself does it very well:
$stdClass = (object) array('one' => 'apple', 'two' => 'banana',
'three' => 'pear');
Regards
Bartek
2007/12/13, Kexiao Liao <[EMAIL PROTECTED]>:
>
> Is there any method in Zend Framework to convert an array into a stdClass?
>
> --
> View this message in context:
> http://www.nabble.com/convert-array-to-stdclass-tp14319006s16154p14319006.html
> Sent from the Zend Framework mailing list archive at Nabble.com.
>
>
