php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #155 bug in parse_str()
Submitted: 1998-03-09 15:51 UTC Modified: 1998-03-13 04:56 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: be at shonline dot de Assigned:
Status: Closed Package: Other
PHP Version: 3.0b6 OS: sunos 2.5.1
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 you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: be at shonline dot de
New email:
PHP Version: OS:

 

 [1998-03-09 15:51 UTC] be at shonline dot de
Arrays aren't parsed by parse_str()
as shown by this script:


<?php
 $a="var[alpha]=foo&var[beta]=bar&noarray=works";
 parse_str($a);
 print $var["alpha"]."\n".$noarray."\n";
?>

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-13 04:56 UTC] zeev
_php3_parse_gpc() was writing to symbol_table and active_symbol_table on other times
it should always write to active_symbol_table
also, the internal functions API had to be changed a bit,
so that active_symbol_table inside internal functions is
the symbol table of the scope
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 22 02:01:28 2024 UTC