3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a['p'] = null; $a['c'] = false; echo isset($a['p']); echo " __ "; echo array_key_exists($a['p']); echo " ___ "; echo isset($a['c']);
Output for 5.3.28 - 5.3.29, 5.4.20 - 7.1.0
__ Warning: array_key_exists() expects exactly 2 parameters, 1 given in /in/L8Q5S on line 9 ___ 1
Output for 5.3.0 - 5.3.27, 5.4.0 - 5.4.19
__ Warning: array_key_exists() expects exactly 2 parameters, 1 given in /in/GGKgG on line 9 ___ 1
Output for 4.3.1 - 5.2.17
__ Warning: Wrong parameter count for array_key_exists() in /in/GGKgG on line 9 ___ 1
Output for 4.3.0
__ Warning: Wrong parameter count for array_key_exists() in /in/L8Q5S on line 9 ___ 1