3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo htmlspecialchars("abe æøå aalkn", ENT_COMPAT | ENT_HTML401, "ISO-8859-1");
Output for 5.4.0 - 7.1.0
abe æøå aalkn
Output for 4.3.2 - 5.3.29
Notice: Use of undefined constant ENT_HTML401 - assumed 'ENT_HTML401' in /in/g0mXO on line 2 abe æøå aalkn
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant ENT_HTML401 - assumed 'ENT_HTML401' in /in/g0mXO on line 2
Process exited with code 139.