3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php private function _normalizaString($string) { $a = "ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõöøùúûýýþÿŔŕ"; $b = "aaaaaaaceeeeiiiidnoooooouuuuybsaaaaaaaceeeeiiiidnoooooouuuyybyRr"; $string = str_replace(str_split($a), str_split($b), $string); return preg_replace('/\s+/', ' ', trim(strtolower($string), '()[]{}._\t\b\r')); }
Output for 5.4.0 - 5.4.28
Parse error: syntax error, unexpected 'private' (T_PRIVATE) in /in/h8V44 on line 3
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_PRIVATE in /in/h8V44 on line 3
Process exited with code 255.