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")); for ($i = 0; $i < count(array_keys($array, "blue")); ++$i) { print $array[$i]; } ?>
based on u76rc
Output for 4.3.0 - 7.2.0
3blueredgreen