note 118236 added to function.array-shift

From: Date: Sat, 31 Oct 2015 16:56:29 +0000
Subject: note 118236 added to function.array-shift
Groups: php.notes 
Request: Send a blank email to php-notes+get-204060@lists.php.net to get a copy of this message
Here is my string_shift() function: function string_shift(&$str) { $res = $this->text[0]; $str = substr($str, 1); return $res; } Simple, but useful. ---- Server IP: 72.52.91.14 Probable Submitter: 2.31.125.195 ---- Manual Page -- http://php.net/manual/en/function.array-shift.php Edit -- https://master.php.net/note/edit/118236 Del: integrated -- https://master.php.net/note/delete/118236/integrated Del: useless -- https://master.php.net/note/delete/118236/useless Del: bad code -- https://master.php.net/note/delete/118236/bad+code Del: spam -- https://master.php.net/note/delete/118236/spam Del: non-english -- https://master.php.net/note/delete/118236/non-english Del: in docs -- https://master.php.net/note/delete/118236/in+docs Del: other reasons-- https://master.php.net/note/delete/118236 Reject -- https://master.php.net/note/reject/118236 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#204060) next »