note 111345 added to function.list

From: Date: Sat, 09 Feb 2013 12:34:50 +0000
Subject: note 111345 added to function.list
Groups: php.notes 
Request: Send a blank email to php-notes+get-193568@lists.php.net to get a copy of this message
Note: list cannot assign array cast of object to variables straight away. first you need to convert the object to numeric indexed array. ex: list($a, $b, $d) = (array) $abc; // $abc is an object; this will not assign. list($a, $b, $c) = array_values((array) $abc); // This will work. ---- Server IP: 69.147.83.199 Probable Submitter: 122.174.92.248 ---- Manual Page -- http://php.net/manual/en/function.list.php Edit -- https://master.php.net/note/edit/111345 Del: integrated -- https://master.php.net/note/delete/111345/integrated Del: useless -- https://master.php.net/note/delete/111345/useless Del: bad code -- https://master.php.net/note/delete/111345/bad+code Del: spam -- https://master.php.net/note/delete/111345/spam Del: non-english -- https://master.php.net/note/delete/111345/non-english Del: in docs -- https://master.php.net/note/delete/111345/in+docs Del: other reasons-- https://master.php.net/note/delete/111345 Reject -- https://master.php.net/note/reject/111345 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193568) next »