note 34864 rejected from function.array-slice by sp
| From: | sp@php.net | Date: | Fri, 08 Aug 2003 21:02:53 +0000 |
| Subject: | note 34864 rejected from function.array-slice by sp | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-53671@lists.php.net to get a copy of this message | ||
Note Submitter: programmer@bardware.de
----
Hi zan at stargeek dot com,
I have an array with a zero based integer index. There's only one item in the array, with index
0.
I used your function to return 5 items from the beginning of the array, and it did not return 1
since there is only one, or 5 since I requested 5, but 2. There's an error in your script.
Best,
Benrhard