re: Daily Challenge #3 - Vowel Counter VIEW POST

FULL DISCUSSION
 

PHP

function count_vowels(string $str) {
    return preg_match_all('/([aeiou])./', strtolower($str));
}
code of conduct - report abuse