Check if the character is vowel or not
< ? php function isVowel ( $ c ) { $ vowel = " aeiou " ; for ( $ i = 0 ; $ i < strlen ( $ vowel ) ; ++ $ i ) if ( $ vowel [ $ i ] == $ c ) return true ; return false ; }