3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array('foo' => 1, 'bar' => 2); print isset('foo');
Output for hhvm-3.12.0
1
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.0 - 5.4.12, 5.4.14
Parse error: syntax error, unexpected ''foo'' (T_CONSTANT_ENCAPSED_STRING) in HAGdQ on line 4
Process exited with code 255.
Output for 5.4.13
Parse error: syntax error, unexpected ''foo'' (T_CONSTANT_ENCAPSED_STRING) in /in/HAGdQ on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.22, 5.3.24
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in HAGdQ on line 4
Process exited with code 255.
Output for 5.3.23
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /in/HAGdQ on line 4
Process exited with code 255.