Enter the String :
First.php 0,"e"=>0,"i"=>0,"o"=>0,"u"=>0); for($i=0; $iTotal number of vowels found : ".$cnt."

"; echo "Occurence of 'a' : ".$vowels['a']."
"; echo "Occurence of 'e' : ".$vowels['e']."
"; echo "Occurence of 'i' : ".$vowels['i']."
"; echo "Occurence of 'o' : ".$vowels['o']."
"; echo "Occurence of 'u' : ".$vowels['u']."
"; $str=strrev($string); $a=strlen($string); $f=0; for($j=0;$j<$a;$j++) { if($str[$j]==$string[$j]) { $f=0; } else { $f=1; break; } } if($f==0) { echo"string is palindrome"; } else { echo"string is not palindrome"; } ?>