Contact: aviboots(AT)netvision.net.il
39,939 questions
51,876 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 */