Re: PHP 4.0 Bug #6267: parse_str fails to parse strings

From: Date: Mon, 21 Aug 2000 00:14:11 +0000
Subject: Re: PHP 4.0 Bug #6267: parse_str fails to parse strings
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-29977@lists.php.net to get a copy of this message
Works fine on Linux. I guess it is a Win32-specific problem? However there is no Windows-specific code anywhere near parse_str() as far as I can see. Could somebody who will admit to having a Windows box please check this? -Rasmus On 21 Aug 2000 ianm@judcom.nsw.gov.au wrote: > From: ianm@judcom.nsw.gov.au > Operating system: Windows 98SE and NT 4.0 workstation > PHP version: 4.0.1pl2 > PHP Bug Type: Misbehaving function > Bug description: parse_str fails to parse strings > > This is, unfortunately, a reposting of #5991 which has been marked as closed - no feedback. I > DID try to post feedback, but was unable to (I had no password) - I even emailed the person who > posted the request for feedback, but got no answer. As this problem with parse_str is unresolved, > and I am working on an enterprise project, I am persisting with the bug report. > > PROBLEM WITH PARSE_STR > -------------------------------- > Example, if I embed the following script into PHP code: > > $alpha = 'beta=2&gamma=3'; > parse_str($alpha); > echo "|$beta|$gamma|\n"; > > All I see is '|||' when I view the output. The code works fine under PHP 3.0 on > Linux. All my other PHP code works fine. > > I have tested this both in a web page from Peer Web Server(ISAPI) under Win NT 4.0 > and at the command prompt running a stand-alone script through php.exe under NT 4.0 and Win 98 > SE > - with the same result. I got the same results with PHP 4.0.0 and 4.0.1pl2, which I downloaded > and tried as requested in #5991. > > BTW, I downloaded the Win32 binaries from www.Zend.com - I did not compile my own. > > > >

« previous php.dev (#29977) next »