note 104451 added to mysqli-stmt.bind-result

From: Date: Thu, 16 Jun 2011 07:02:38 +0000
Subject: note 104451 added to mysqli-stmt.bind-result
Groups: php.notes 
Request: Send a blank email to php-notes+get-180591@lists.php.net to get a copy of this message
To clarify for anyone having problems with arrays, PHP will automatically pass arrays as references, cloning the array if needed in the event of setting or unsetting a part of it, changing a referenced variable does not trigger cloning. This is done for efficiency, to clone an array containing this information you may either use a foreach loop, or set/unset a key. Techniques like array_values will also work provided you don't mind losing your keys. ---- Server IP: 109.169.40.147 Probable Submitter: 178.96.254.84 ---- Manual Page -- http://www.php.net/manual/en/mysqli-stmt.bind-result.php Edit -- https://master.php.net/note/edit/104451 Del: integrated -- https://master.php.net/note/delete/104451/integrated Del: useless -- https://master.php.net/note/delete/104451/useless Del: bad code -- https://master.php.net/note/delete/104451/bad+code Del: spam -- https://master.php.net/note/delete/104451/spam Del: non-english -- https://master.php.net/note/delete/104451/non-english Del: in docs -- https://master.php.net/note/delete/104451/in+docs Del: other reasons-- https://master.php.net/note/delete/104451 Reject -- https://master.php.net/note/reject/104451 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#180591) next »