3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array( 'a'=>'a', 'b'=>'b', 'c'=>'c', 'd'=>'d', 'e'=>'e', 'f'=>'f', 'g'=>'g' ); var_dump( array_key_exists( $a['d'] ) );
Output for 5.3.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
Warning: array_key_exists() expects exactly 2 parameters, 1 given in /in/4XYA5 on line 3 NULL
Output for 4.3.0 - 5.2.17
Warning: Wrong parameter count for array_key_exists() in /in/4XYA5 on line 3 NULL