On Wed, Jan 14, 2009 at 6:18 AM, Edgar da Silva (Fly2k) < silva.edgar@xxxxxxxxx> 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