[php-src] Issue #9565: parse_url bug in PHP8.2.0-rc1

From: Date: Sat, 17 Sep 2022 09:26:35 +0000
Subject: [php-src] Issue #9565: parse_url bug in PHP8.2.0-rc1
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-242430@lists.php.net to get a copy of this message
Issue: https://github.com/php/php-src/issues/9565 Author: nyamsprod ### Description The following code: ```php <?php var_dump(parse_url('/example.com:42#foobar')); ``` Resulted in this output: ``` bool(false) ``` But I expected this output instead: ``` array(2) { ["path"]=> string(15) "/example.com:42" ["fragment"]=> string(6) "foobar" } ``` ### PHP Version PHP 8.2.0-rc1 ### Operating System _No response_

« previous php.bugs (#242430) next »