3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $strings = array( "Cláudia", "Jośe", "Áãõ" ); foreach ($strings as $string) { $string = utf8_encode($string); var_dump($string); }
Output for 4.3.0 - 7.1.0
string(10) "Cláudia" string(7) "Jośe" string(12) "Áãõ"