- trim: documentation ( source)
- html_entity_decode: documentation ( source)
<?php
function sfdsfdsffddsf($string)
{
$string = html_entity_decode($string, ENT_QUOTES, 'UTF-8');
return trim($string);
}
echo sfdsfdsffddsf('Test ' test');
?>