Array
(
[path] => hostname.com/path
[query] => arg=value
[fragment] => anchor
)
Fatal error: Uncaught Error: Undefined constant "PHP_URL_SCHEMA" in /in/6hn48:7
Stack trace:
#0 {main}
thrown in /in/6hn48 on line 7
Process exited with code 255.
Output for 7.3.12 - 7.3.33, 7.4.0 - 7.4.33
Array
(
[path] => hostname.com/path
[query] => arg=value
[fragment] => anchor
)
Warning: Use of undefined constant PHP_URL_SCHEMA - assumed 'PHP_URL_SCHEMA' (this will throw an Error in a future version of PHP) in /in/6hn48 on line 7
Warning: parse_url() expects parameter 2 to be int, string given in /in/6hn48 on line 7
Output for 7.2.6 - 7.2.33
Array
(
[path] => hostname.com/path
[query] => arg=value
[fragment] => anchor
)
Warning: Use of undefined constant PHP_URL_SCHEMA - assumed 'PHP_URL_SCHEMA' (this will throw an Error in a future version of PHP) in /in/6hn48 on line 7
Warning: parse_url() expects parameter 2 to be integer, string given in /in/6hn48 on line 7
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.20
Array
(
[path] => hostname.com/path
[query] => arg=value
[fragment] => anchor
)
Notice: Use of undefined constant PHP_URL_SCHEMA - assumed 'PHP_URL_SCHEMA' in /in/6hn48 on line 7
Warning: parse_url() expects parameter 2 to be integer, string given in /in/6hn48 on line 7
Array
(
[path] => hostname.com/path
[query] => arg=value
[fragment] => anchor
)
Notice: Use of undefined constant PHP_URL_SCHEMA - assumed 'PHP_URL_SCHEMA' in /in/6hn48 on line 7
Warning: parse_url() expects parameter 2 to be long, string given in /in/6hn48 on line 7
Array
(
[path] => hostname.com/path
[query] => arg=value
[fragment] => anchor
)
Notice: Use of undefined constant PHP_URL_SCHEMA - assumed 'PHP_URL_SCHEMA' in /in/6hn48 on line 7
Warning: parse_url() expects exactly 1 parameter, 2 given in /in/6hn48 on line 7