3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = array(0 => 200, '730404' => 89730 ,'730205' => 1000 ,'730100' => 1000 ,'730601' => 2184); $key='730404'; $keys = array_keys($array,$key,0); print_r($keys); ?>
Output for 5.0.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( )
Output for 4.3.0 - 4.4.9
Warning: Wrong parameter count for array_keys() in /in/mcaZl on line 4