3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 0, $c = 0, $str = "The quick brown fox jumps over the lazy dog."; $i < strlen($str); $i++) { if(in_array(substr($str,$i,1),array("a","e","i","o","u"))) $c++; } echo $c;
based on hVJ6Y
Output for 4.3.0 - 7.1.0
11