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
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.
(description)
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 04:01:34 2024 UTC