note 113042 added to function.array-values

From: Date: Wed, 21 Aug 2013 18:43:32 +0000
Subject: note 113042 added to function.array-values
Groups: php.notes 
Request: Send a blank email to php-notes+get-196043@lists.php.net to get a copy of this message
/** * Return the new array from the offset index */ function array_values_from($array, $offset_index = 0) { if (!is_array($array)) return null; $index = (int)$offset_index; foreach($array as $i => $value) $array_return[$index++] = $value; return $array_return; } ---- Server IP: 69.147.83.199 Probable Submitter: 189.50.141.138 ---- Manual Page -- http://php.net/manual/en/function.array-values.php Edit -- https://master.php.net/note/edit/113042 Del: integrated -- https://master.php.net/note/delete/113042/integrated Del: useless -- https://master.php.net/note/delete/113042/useless Del: bad code -- https://master.php.net/note/delete/113042/bad+code Del: spam -- https://master.php.net/note/delete/113042/spam Del: non-english -- https://master.php.net/note/delete/113042/non-english Del: in docs -- https://master.php.net/note/delete/113042/in+docs Del: other reasons-- https://master.php.net/note/delete/113042 Reject -- https://master.php.net/note/reject/113042 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#196043) next »