3v4l.org

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