3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = utf8_encode( "KS and this isn’t a test of symbols ‘ and I still don’t understan ‘causes"); var_dump($str); var_dump(utf8_decode);
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(93) "KS and this isn’t a test of symbols ‘ and I still don’t understan ‘causes" Notice: Use of undefined constant utf8_decode - assumed 'utf8_decode' in /in/oKqSY on line 4 string(11) "utf8_decode"