note 67951 added to function.array-rand
| From: | dragonfly at dragonflyeye dot net | Date: | Fri, 07 Jul 2006 14:57:02 +0000 |
| Subject: | note 67951 added to function.array-rand | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-114548@lists.php.net to get a copy of this message | ||
Well, this is interesting. I don't see anyone else commenting on this, so just in case you
were planning to use this function like I was, be prepared: array_rand does not handle
multidimensional arrays. It just ends up returning a list of the X-axis values without the Y-axis
arrays. Bummer. I'm going to have to find another way to do what I wanted.
----
Server IP: 216.194.113.175
Probable Submitter: 66.67.226.83
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.array-rand.php
Edit -- http://master.php.net/note/edit/67951
Del: integrated -- http://master.php.net/note/delete/67951/integrated
Del: useless -- http://master.php.net/note/delete/67951/useless
Del: bad code -- http://master.php.net/note/delete/67951/bad+code
Del: spam -- http://master.php.net/note/delete/67951/spam
Del: non-english -- http://master.php.net/note/delete/67951/non-english
Del: in docs -- http://master.php.net/note/delete/67951/in+docs
Del: other reasons-- http://master.php.net/note/delete/67951
Reject -- http://master.php.net/note/reject/67951
Search -- http://master.php.net/manage/user-notes.php