|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
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-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 09:03:35 2021 UTC