3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'a=1&b=2&c=3&d=4'; if( isset($str[0]) ) { parse_url('a=1&b=2&c=3', $arr); }
based on pCcFB
Output for 5.6.0 - 5.6.38, hhvm-3.20.2 - 3.21.3, 7.0.0 - 7.3.0rc4
Notice: Undefined variable: arr in /in/qY86t on line 4
Output for hhvm-3.22.0
Notice: Undefined variable: arr in /in/qY86t on line -1
Output for hhvm-3.12.14 - 3.19.2
Notice: Undefined variable: arr in /in/qY86t on line 4 Warning: parse_url() expects parameter 2 to be integer, null given in /in/qY86t on line 4