ID: 19876 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Closed Bug Type: *URL Functions Operating System: Windows 2000 Pro (Sp3) PHP Version: 4CVS-2002-10-12 New Comment:
This bug has been fixed in CVS. In case this was a PHP problem, snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. In case this was a documentation problem, the fix will show up soon at http://www.php.net/manual/. In case this was a PHP.net website problem, the change will show up on the PHP.net site and on the mirror sites in short time. Thank you for the report, and for helping us make PHP better. The latest snapshot has this problem fixed. http://snaps.php.net/win32/php4-win32-200210121800.zip Previous Comments: ------------------------------------------------------------------------ [2002-10-12 12:56:00] [EMAIL PROTECTED] I just tried this snap: php4-win32-200210121400.zip The result is different, but still incorrect: Array ( [scheme] => ftp [host] => ww.moria.com [user] => gandalf [pass] => :mellon@ [path] => /foo/bar/index.php [query] => page=news ) host & pass values are wrong... /OnionMan ------------------------------------------------------------------------ [2002-10-12 03:28:35] [EMAIL PROTECTED] Please wait until the next developer snapshot is generated and try again. ------------------------------------------------------------------------ [2002-10-11 23:31:53] [EMAIL PROTECTED] The lack for formatting for phpinfo() when html_errors are Off is intentional. parse_url() was recently rewritten from scratch that probably introduced the bug you are seeing. I'll look into it in more detail. ------------------------------------------------------------------------ [2002-10-11 23:26:58] [EMAIL PROTECTED] Here's a link to the phpinfo at my machine: http://onionman.homeip.net/phpinfo/ A weird thing i noticed is that if i have 'html_errors = Off' in my php.ini file, then phpinfo looses all it formatting and is unreadable... is it supposed to be like this? Anyway... i doublechecked the parse_url bug by going back to an older snapshot (2002-10-06), and there it works like expected... and then trying latest snap again (2002-10-12), and there it's the same result as before... so either something has introduced a bug there since last week... or my machine is behaving strange... ;) /OnionMan ------------------------------------------------------------------------ [2002-10-11 23:00:11] [EMAIL PROTECTED] The 1 comes from 'echo print_r' you do not need to echo print_r() it'll do it automatically. The missing letter is something I am unable to replicate on any of my machines. Could you please should output of phpinfo() on your system, maybe that'll yeild some clues. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/19876 -- Edit this bug report at http://bugs.php.net/?id=19876&edit=1