note 89327 added to function.array

From: Date: Tue, 03 Mar 2009 19:07:07 +0000
Subject: note 89327 added to function.array
Groups: php.notes 
Request: Send a blank email to php-notes+get-151408@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/89327 Del: integrated -- https://master.php.net/note/delete/89327/integrated Del: useless -- https://master.php.net/note/delete/89327/useless Del: bad code -- https://master.php.net/note/delete/89327/bad+code Del: spam -- https://master.php.net/note/delete/89327/spam Del: non-english -- https://master.php.net/note/delete/89327/non-english Del: in docs -- https://master.php.net/note/delete/89327/in+docs Del: other reasons-- https://master.php.net/note/delete/89327 Reject -- https://master.php.net/note/reject/89327 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#151408) next »