note 7050 deleted from array_splice by ronabop
| From: | ronabop@php.net | Date: | Sun, 03 Sep 2000 09:46:42 +0000 |
| Subject: | note 7050 deleted from array_splice by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-4015@lists.php.net to get a copy of this message | ||
It should be noted somewhere what array_splice returns. The prototype says that it returns an array
and this would seem to imply that it returns the modified input array. But after much frustration
wondering why my script wasn't working, I finally realized that array_splice returns the
portion of the input array that it cuts out, and *not* the modified array.