note 115026 added to function.current

From: Date: Wed, 14 May 2014 05:55:10 +0000
Subject: note 115026 added to function.current
Groups: php.notes 
Request: Send a blank email to php-notes+get-199535@lists.php.net to get a copy of this message
If we unset any element from an array, and then try the current function, I noted it returned FALSE. To overcome this limitation, you can use array_values function to re-order the tree. ---- Server IP: 103.21.58.218 Probable Submitter: 61.16.241.99 ---- Manual Page -- http://php.net/manual/en/function.current.php Edit -- https://master.php.net/note/edit/115026 Del: integrated -- https://master.php.net/note/delete/115026/integrated Del: useless -- https://master.php.net/note/delete/115026/useless Del: bad code -- https://master.php.net/note/delete/115026/bad+code Del: spam -- https://master.php.net/note/delete/115026/spam Del: non-english -- https://master.php.net/note/delete/115026/non-english Del: in docs -- https://master.php.net/note/delete/115026/in+docs Del: other reasons-- https://master.php.net/note/delete/115026 Reject -- https://master.php.net/note/reject/115026 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#199535) next »