3v4l.org

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