functioncountVowels($string){preg_match_all("/[aeiou]/i",$string,$matches);returnsizeof($matches[0]);}echo"Number of vowels : ".countVowels("sUpercalifragilisticexpialidocious");
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Here's my solution:
PHP: