note 62559 added to function.array-slice

From: Date: Fri, 03 Mar 2006 11:07:14 +0000
Subject: note 62559 added to function.array-slice
Groups: php.notes 
Request: Send a blank email to php-notes+get-104765@lists.php.net to get a copy of this message
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); } ---- Server IP: 194.246.101.61 Probable Submitter: 195.68.46.222 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.array-slice.php Edit -- http://master.php.net/note/edit/62559 Del: integrated -- http://master.php.net/note/delete/62559/integrated Del: useless -- http://master.php.net/note/delete/62559/useless Del: bad code -- http://master.php.net/note/delete/62559/bad+code Del: spam -- http://master.php.net/note/delete/62559/spam Del: non-english -- http://master.php.net/note/delete/62559/non-english Del: in docs -- http://master.php.net/note/delete/62559/in+docs Del: other reasons-- http://master.php.net/note/delete/62559 Reject -- http://master.php.net/note/reject/62559 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#104765) next »