3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('foo' => 1, 'bar' => 2); print isset('foo');
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/QGrQL 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/QGrQL on line 4
Process exited with code 255.

preferences:
170.09 ms | 1399 KiB | 47 Q