On Wed, Jan 14, 2009 at 6:18 AM, Edgar da Silva (Fly2k) <
silva.ed...@gmail.com> wrote:

> Did you try:
>
> $a = new ArrayObject;
> $a['sometest'] = 'somevalue';
>

its also worth pointing out, the above syntax is available b/c ArrayObject
implements the ArrayAccess interface.

http://www.php.net/~helly/php/ext/spl/interfaceArrayAccess.html

-nathan

Reply via email to