3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ulr = 'https://www.spin.com'; $a = parse_url($url); var_dump($a);
based on g2CKL
Output for 5.0.4 - 7.1.0
Notice: Undefined variable: url in /in/G3YkK on line 5 array(1) { ["path"]=> string(0) "" }
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: url in /in/G3YkK on line 5 array(1) { ["path"]=> string(0) "" }