note 13458 added to function.array-shift.php
| From: | jmroth at iip dot lu | Date: | Sun, 17 Jun 2001 22:28:13 +0000 |
| Subject: | note 13458 added to function.array-shift.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14305@lists.php.net to get a copy of this message | ||
Let's say I have this string:
/FAQ/
(a URI, actually)
An explode action (delim is /)with a resulting count of the array reveals 3 elements.
After an array_shift or array_pop, the count goes to 1. 3-1=1?
http://www.php.net/manual/en/function.array-shift.php