3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo htmlspecialchars('öäöäöö', ENT_COMPAT | ENT_HTML401, 'ISO-8859-1');
Output for 5.4.0 - 7.2.0
öäöäöö
Output for 4.3.2 - 5.3.29
Notice: Use of undefined constant ENT_HTML401 - assumed 'ENT_HTML401' in /in/orYtq on line 2 öäöäöö
Output for 4.3.0 - 4.3.1
Notice: Use of undefined constant ENT_HTML401 - assumed 'ENT_HTML401' in /in/orYtq on line 2
Process exited with code 139.