|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9539 extract() does not overwrite old values in a while loop with the EXTR_OVERWRITE
Submitted: 2001-03-03 15:51 UTC Modified: 2001-04-10 10:47 UTC
From: scott at popularlink dot com Assigned:
Status: Closed Package: Variables related
PHP Version: 4.0.4 OS: OpenBSD 2.8
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: scott at popularlink dot com
New email:
PHP Version: OS:


 [2001-03-03 15:51 UTC] scott at popularlink dot com
$sql = "select * from organization order by
$result = mysql_query($sql);

while ($row=mysql_fetch_array($result))

// $organizationnameinchinese="";
// if this line was not included .. the value 
// $organizationnameinchinese would not get the new value
extract ($row,EXTR_OVERWRITE);

echo "The school listed are

<A href=vieworganization.php?orgid=$id>$organizationname



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-03-03 17:17 UTC]
Please try the latest CVS snapshot from as I think 
this is already fixed.


 [2001-03-06 07:01 UTC]
 [2001-04-10 10:47 UTC]
No feedback. If this happens also with soon to be released PHP 4.0.5, reopen this bug report.


PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Fri Oct 23 11:01:24 2020 UTC