3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $array = array("blue", "red", "green", "blue", "blue"); echo count(array_keys($array, "blue")); print_r(array_keys($array, "blue")); ?>
based on MuF1T
Output for 4.3.0 - 7.2.0
3Array ( [0] => 0 [1] => 3 [2] => 4 )