note 86951 added to arrayobject.construct
| From: | Anonymous at osu1 dot php dot net | Date: | Wed, 12 Nov 2008 05:18:45 +0000 |
| Subject: | note 86951 added to arrayobject.construct | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-146410@lists.php.net to get a copy of this message | ||
The docs above are invalid regarding parameters. It should be:
Array $array[, Integer $flags[, Iterator $iterator_class="ArrayIterator"] ]
Flags can be the values:
ArrayObject::ARRAY_AS_PROPS - Array indices can be accessed as properties in read/write. (ex.
$array->prop)
ArrayObject::STD_PROP_LIST - Properties of the object have their normal functionality when accessed
as list (var_dump, foreach, etc.). Will treat the ArrayObject as any other object when accessed as
specified.
----
Server IP: 64.71.164.2
Probable Submitter: 67.168.45.224
----
Manual Page -- http://www.php.net/manual/en/arrayobject.construct.php
Edit -- https://master.php.net/note/edit/86951
Del: integrated -- https://master.php.net/note/delete/86951/integrated
Del: useless -- https://master.php.net/note/delete/86951/useless
Del: bad code -- https://master.php.net/note/delete/86951/bad+code
Del: spam -- https://master.php.net/note/delete/86951/spam
Del: non-english -- https://master.php.net/note/delete/86951/non-english
Del: in docs -- https://master.php.net/note/delete/86951/in+docs
Del: other reasons-- https://master.php.net/note/delete/86951
Reject -- https://master.php.net/note/reject/86951
Search -- https://master.php.net/manage/user-notes.php