<?php
$palavra = "àñáçâçí" ; // 7 letras
function tirarAcentos( $string ) {
return preg_replace ( array ( "/(á|à|ã|â|ä)/" , "/(Á|À|Ã|Â|Ä)/" , "/(é|è|ê|ë)/" , "/(É|È|Ê|Ë)/" , "/(í|ì|î|ï)/" , "/(Í|Ì|Î|Ï)/" , "/(ó|ò|õ|ô|ö)/" , "/(Ó|Ò|Õ|Ô|Ö)/" , "/(ú|ù|û|ü)/" , "/(Ú|Ù|Û|Ü)/" , "/(ñ)/" , "/(Ñ)/" , "/(ç)/" , "/(Ç)/" ) , explode ( " " , "a A e E i I o O u U n N c C" ) , $string ) ; }
$sem = tirarAcentos( $palavra ) ;
$i = 0 ;
$i ++;
}
echo $i ;
PD9waHAKCgkkcGFsYXZyYSA9ICLDoMOxw6HDp8Oiw6fDrSI7IC8vIDcgbGV0cmFzCgkKCWZ1bmN0aW9uIHRpcmFyQWNlbnRvcygkc3RyaW5nKXsKCSAgICByZXR1cm4gcHJlZ19yZXBsYWNlKGFycmF5KCIvKMOhfMOgfMOjfMOifMOkKS8iLCIvKMOBfMOAfMODfMOCfMOEKS8iLCIvKMOpfMOofMOqfMOrKS8iLCIvKMOJfMOIfMOKfMOLKS8iLCIvKMOtfMOsfMOufMOvKS8iLCIvKMONfMOMfMOOfMOPKS8iLCIvKMOzfMOyfMO1fMO0fMO2KS8iLCIvKMOTfMOSfMOVfMOUfMOWKS8iLCIvKMO6fMO5fMO7fMO8KS8iLCIvKMOafMOZfMObfMOcKS8iLCIvKMOxKS8iLCIvKMORKS8iLCIvKMOnKS8iLCIvKMOHKS8iKSxleHBsb2RlKCIgIiwiYSBBIGUgRSBpIEkgbyBPIHUgVSBuIE4gYyBDIiksJHN0cmluZyk7Cgl9CgkJCQkJCQkJCQkKCSRzZW0gPSB0aXJhckFjZW50b3MoJHBhbGF2cmEpOwoJCgkkaSA9IDA7Cgl3aGlsZSghZW1wdHkoJHNlbVskaV0pKXsKCSAgJGkrKzsKCX0KCWVjaG8gJGk7