3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array(); var_dump(array_key_exists('foo', $array)); var_dump(empty($array['foo']);
Output for 5.3.0 - 5.3.26, 5.4.0 - 5.4.16
Parse error: syntax error, unexpected ';' in /in/JUvMu on line 5
Process exited with code 255.

preferences:
181.06 ms | 1395 KiB | 51 Q