3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(htmlspecialchars(urldecode('%C4%E8%EB%E5%F0+-+%F3%E5'), ENT_COMPAT|ENT_SUBSTITUTE , "UTF-8"));
Output for 5.4.0 - 7.1.10
string(24) "����� - ��"
Output for 5.2.5 - 5.3.29
Notice: Use of undefined constant ENT_SUBSTITUTE - assumed 'ENT_SUBSTITUTE' in /in/AD3Jp on line 3 string(0) ""
Output for 4.3.2 - 5.2.4
Notice: Use of undefined constant ENT_SUBSTITUTE - assumed 'ENT_SUBSTITUTE' in /in/AD3Jp on line 3 string(11) "����� - ��"
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant ENT_SUBSTITUTE - assumed 'ENT_SUBSTITUTE' in /in/AD3Jp on line 3
Process exited with code 139.