note 89326 added to function.array
| From: | alwynlobo at gmail dot com | Date: | Tue, 03 Mar 2009 19:06:50 +0000 |
| Subject: | note 89326 added to function.array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-151407@lists.php.net to get a copy of this message | ||
Another example on how to create a multi-dimensional array using ArrayObject
<?php
$array = $array = array(array(array(array('1' => 'one',
'2' => 'two',
'3' => 'three'))));
$arrayobject = new ArrayObject($array);
//var_dump($arrayobject);
//Can use the above statement to view the entire array
print $arrayobject[0][0][0][2];
?>
----
Server IP: 59.162.86.33
Probable Submitter: 122.167.138.40
----
Manual Page -- http://www.php.net/manual/en/function.array.php
Edit -- https://master.php.net/note/edit/89326
Del: integrated -- https://master.php.net/note/delete/89326/integrated
Del: useless -- https://master.php.net/note/delete/89326/useless
Del: bad code -- https://master.php.net/note/delete/89326/bad+code
Del: spam -- https://master.php.net/note/delete/89326/spam
Del: non-english -- https://master.php.net/note/delete/89326/non-english
Del: in docs -- https://master.php.net/note/delete/89326/in+docs
Del: other reasons-- https://master.php.net/note/delete/89326
Reject -- https://master.php.net/note/reject/89326
Search -- https://master.php.net/manage/user-notes.php