note 58654 modified in ref.spl by simp

From: Date: Fri, 11 Nov 2005 16:11:32 +0000
Subject: note 58654 modified in ref.spl by simp
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-98432@lists.php.net to get a copy of this message
You may access the ArrayObject as an array by using the array() function: class myArrayObject extends ArrayObject { function getArray() { return (array) $this; } } --was-- You may access the ArrayObject as an array by using the array() function: class myArrayObject extends ArrayObject { function getArray() { return array($this); } } http://php.net/manual/en/ref.spl.php

« previous php.notes (#98432) next »