Closed
Description
Description
The following code:
<?php
var_dump(parse_url('internal:#feeding'));
Resulted in this output:
array(2) {
["path"]=>
string(9) "internal:"
["fragment"]=>
string(7) "feeding"
}
But I expected this output instead:
array(2) {
["scheme"]=>
string(8) "internal"
["fragment"]=>
string(7) "feeding"
}
This appears to a be a regression of #7844
PHP Version
PHP 8.2rc1
Operating System
No response