3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(); print_r($a); print_r(array_key_exists("test"));
Output for 5.3.0 - 7.1.7
Array ( ) Warning: array_key_exists() expects exactly 2 parameters, 1 given in /in/hahJt on line 5
Output for 4.3.0 - 5.2.17
Array ( ) Warning: Wrong parameter count for array_key_exists() in /in/hahJt on line 5