3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = array('key' => null); var_dump(isset($arr['key'])); var_dump(array_key_exists($arr, 'key'))
Output for 5.4.0 - 5.4.17
Parse error: syntax error, unexpected end of file in /in/l6KXY on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.27
Parse error: syntax error, unexpected $end in /in/l6KXY on line 7
Process exited with code 255.

preferences:
177.34 ms | 1399 KiB | 53 Q