note 62559 deleted from function.array-slice by betz
| From: | betz@php.net | Date: | Fri, 03 Mar 2006 11:14:32 +0000 |
| Subject: | note 62559 deleted from function.array-slice by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-104767@lists.php.net to get a copy of this message | ||
Note Submitter: laurent edel
----
An array_aslice() function wich is to array_slice() what asort() is to sort(), think it's more
easy to remember...
function array_aslice($array,$offset,$lenght='-1') {
return array_slice($array,$offset,$lenght,true);
}