note 58654 modified in ref.spl by simp
| From: | simp@php.net | Date: | Fri, 11 Nov 2005 16:11:51 +0000 |
| Subject: | note 58654 modified in ref.spl by simp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-98433@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