3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = '' $ar = array('' => 'test'); if (isset($ar[$test])) { echo $ar[$test]; } else { echo "false"; }
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected '$ar' (T_VARIABLE) in /in/iBTo3 on line 5
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/iBTo3 on line 5
Process exited with code 255.