note 111568 added to function.array-slice
| From: | Kathy | Date: | Tue, 05 Mar 2013 10:17:21 +0000 |
| Subject: | note 111568 added to function.array-slice | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-193898@lists.php.net to get a copy of this message | ||
Please note that you can NOT omit the optional Length parameter and preserve the keys.
<?php
$input = array("a", "b", "c", "d", "e");
print_r( array_slice($input,2, ,TRUE) ); // this will NOT work
?>
----
Server IP: 69.147.83.199
Probable Submitter: 60.240.73.170
----
Manual Page -- http://php.net/manual/en/function.array-slice.php
Edit -- https://master.php.net/note/edit/111568
Del: integrated -- https://master.php.net/note/delete/111568/integrated
Del: useless -- https://master.php.net/note/delete/111568/useless
Del: bad code -- https://master.php.net/note/delete/111568/bad+code
Del: spam -- https://master.php.net/note/delete/111568/spam
Del: non-english -- https://master.php.net/note/delete/111568/non-english
Del: in docs -- https://master.php.net/note/delete/111568/in+docs
Del: other reasons-- https://master.php.net/note/delete/111568
Reject -- https://master.php.net/note/reject/111568
Search -- https://master.php.net/manage/user-notes.php