Contact: aviboots(AT)netvision.net.il
41,656 questions
54,319 answers
573 users
function count_vowels($s) { preg_match_all('/[aeiou]/i', $s, $match_arr); return count($match_arr[0]); } echo count_vowels('PHP is a general-purpose programming language'); /* run: 15 */