php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5991 parse_str() failed to parse strings
Submitted: 2000-08-06 14:07 UTC Modified: 2000-08-20 02:12 UTC
From: ianm at judcom dot nsw dot gov dot au Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 4.0.0 OS: Win NT 4.0 workstation
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: ianm at judcom dot nsw dot gov dot au
New email:
PHP Version: OS:

 

 [2000-08-06 14:07 UTC] ianm at judcom dot nsw dot gov dot au
For instance, if I embed the following script into PHP code:

$alpha = 'beta=2&gamma=3';
parse_str($alpha);
echo '|',$beta,'|',$gamma,'|';

All I see is '|||' when I view the output. (I just checked this to make sure. All my other PHP code works fine.) I have tested this both in a web page from Peer Web Server(ISAPI) and at the command prompt running a stand-alone script through php.exe - with the same result.

I recently upgraded to NT service pack 6.0 - could that affect it? I am "sure" it used to work OK some weeks ago. I haven't made any changes to my php.ini file in this time. Of course, I have installed and uninstalled the odd package over this time (at least Interbase 6.0, and Windows Blinds).

BTW, I didn't compile PHP, I downloaded the Win32 binaries from www.Zend.com.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-06 14:56 UTC] stas@php.net
failed to reproduce in latest version. Please check the latest version and report if it still happens.
 [2000-08-20 02:12 UTC] sniper@php.net
No feedback from user. 

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 00:00:01 2026 UTC