3v4l.org

run code in 200+ 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 7.2.0 - 7.3.0alpha1
string(93) "KS and this isn’t a test of symbols ‘ and I still don’t understan ‘causes" Warning: Use of undefined constant utf8_decode - assumed 'utf8_decode' (this will throw an Error in a future version of PHP) in /in/oKqSY on line 4 string(11) "utf8_decode"
Output for 4.3.0 - 7.1.10
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"