note 25924 added to function.extract

From: Date: Fri, 11 Oct 2002 06:43:57 +0000
Subject: note 25924 added to function.extract
Groups: php.notes 
Request: Send a blank email to php-notes+get-37929@lists.php.net to get a copy of this message
In response to "phplist at jzdev dot com" .... I just came to find this out -- about extract not overwriting a variable from the previous loop if the new loop value is NULL -- at an inopportune time. I would like to know what version this changed, however ... Because I was running on 4.0.6 (I believe) - and extract worked as I expected ... and then I switched to a server with 4.1.2, and extract did not overwrite the value. I'm curious why this was changed. It seems like the previous method is better, or maybe I was just used to it. But now I have to unset all the variables at the end of each loop. -- http://www.php.net/manual/en/function.extract.php http://master.php.net/manage/user-notes.php?action=edit+25924 http://master.php.net/manage/user-notes.php?action=delete+25924 http://master.php.net/manage/user-notes.php?action=reject+25924

« previous php.notes (#37929) next »