3v4l.org

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