<?php

$string = "�*�v��R�<�";

if (preg_match('/[^\x20-\x7f]/', $string)) {
	echo "Correu mal, chamar função novamente!".PHP_EOL;
}
else {
	echo "Todos os caracteres são legiveis!".PHP_EOL;
}


$string = "HGKER%(()W(/T%&)WREGDG";

if (preg_match('/[^\x20-\x7f]/', $string)) {
	echo "Correu mal, chamar função novamente!".PHP_EOL;
}
else {
	echo "Todos os caracteres são legiveis!".PHP_EOL;
}