3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump( parse_url( '//[::FFFF::127.0.0.1]/' ) );
based on QcVKZ
Output for 5.4.8 - 7.2.0
array(2) { ["host"]=> string(19) "[::FFFF::127.0.0.1]" ["path"]=> string(1) "/" }
Output for 5.3.19 - 5.4.7
array(1) { ["path"]=> string(22) "//[::FFFF::127.0.0.1]/" }