3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array( utf8_encode("grado académico"), utf8_encode("ñññññóóóóûüÑuü"), utf8_encode("ÁÁÁÁÉÉ"), utf8_encode("código") ); $b = array_map(utf8_decode, $a); print_r($b);
Output for 4.3.0 - 5.6.25, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Use of undefined constant utf8_decode - assumed 'utf8_decode' in /in/SmAOS on line 9 Array ( [0] => grado académico [1] => ñññññóóóóûüÑuü [2] => ÁÁÁÁÉÉ [3] => código )