PHP 4.0 Bug #6267: parse_str fails to parse strings

From: Date: Mon, 21 Aug 2000 00:02:27 +0000
Subject: PHP 4.0 Bug #6267: parse_str fails to parse strings
Groups: php.dev 
Request: Send a blank email to php-dev+get-29976@lists.php.net to get a copy of this message
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 (#29976) next »