3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = 'áš'; echo htmlspecialchars_decode(htmlspecialchars($a, ENT_NOQUOTES | ENT_IGNORE, 'UTF-8'), ENT_NOQUOTES);
based on GdGpL
Output for 5.3.0 - 7.2.0
áš
Output for 5.1.0 - 5.2.17
Notice: Use of undefined constant ENT_IGNORE - assumed 'ENT_IGNORE' in /in/YvmnF on line 4 áš
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function htmlspecialchars_decode() in /in/YvmnF on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: htmlspecialchars_decode() in /in/YvmnF on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: htmlspecialchars_decode() in /in/YvmnF on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: htmlspecialchars_decode() in /in/YvmnF on line 4