<?php
function stripAccents($str) {
return strtr(utf8_decode($str), utf8_decode(' àáâãäçèéêëìíîïñòóôõöùúûüýÿÀÁÂÃÄÇÈÉÊËÌÍÎÏÑÒÓÔÕÖÙÚÛÜÝ'), '_aaaaaceeeeiiiinooooouuuuyyAAAAACEEEEIIIINOOOOOUUUUY'); }
echo stripAccents("você está vendo o teste de acentuação");
PD9waHAKCmZ1bmN0aW9uIHN0cmlwQWNjZW50cygkc3RyKSB7CiAgICByZXR1cm4gc3RydHIodXRmOF9kZWNvZGUoJHN0ciksIHV0ZjhfZGVjb2RlKCcgw6DDocOiw6PDpMOnw6jDqcOqw6vDrMOtw67Dr8Oxw7LDs8O0w7XDtsO5w7rDu8O8w73Dv8OAw4HDgsODw4TDh8OIw4nDisOLw4zDjcOOw4/DkcOSw5PDlMOVw5bDmcOaw5vDnMOdJyksICdfYWFhYWFjZWVlZWlpaWlub29vb291dXV1eXlBQUFBQUNFRUVFSUlJSU5PT09PT1VVVVVZJyk7Cn0KCmVjaG8gc3RyaXBBY2NlbnRzKCJ2b2PDqiBlc3TDoSB2ZW5kbyBvIHRlc3RlIGRlIGFjZW50dWHDp8OjbyIpOw==