note 63653 added to function.list

From: Date: Mon, 27 Mar 2006 13:11:47 +0000
Subject: note 63653 added to function.list
Groups: php.notes 
Request: Send a blank email to php-notes+get-106758@lists.php.net to get a copy of this message
In response to Zain: Why is extract() the better option? With list(), it is very clear to the reader of the code what actually happens. With extract(), what happens depends on what is stored in the original array, which may created elsewhere in the code. Using extract() is hardly ever a good idea. ---- Server IP: 194.153.94.11 Probable Submitter: 217.8.209.210 ---- X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.list.php Edit -- http://master.php.net/note/edit/63653 Del: integrated -- http://master.php.net/note/delete/63653/integrated Del: useless -- http://master.php.net/note/delete/63653/useless Del: bad code -- http://master.php.net/note/delete/63653/bad+code Del: spam -- http://master.php.net/note/delete/63653/spam Del: non-english -- http://master.php.net/note/delete/63653/non-english Del: in docs -- http://master.php.net/note/delete/63653/in+docs Del: other reasons-- http://master.php.net/note/delete/63653 Reject -- http://master.php.net/note/reject/63653 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#106758) next »