3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = html_entity_decode('&auml;&uuml;uu', ENT_COMPAT, 'ISO-8859-1'); echo preg_replace('#(&\#*\w+)[\x00-\x20]+;#u',"$1;",$string); echo "\n"; $string = 'ss'; echo preg_replace('#(&\#*\w+)[\x00-\x20]+;#u',"$1;",$string);
Output for 5.2.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
ss
Output for hhvm-3.10.0

Process exited with code 153.
Output for 4.3.2 - 5.1.6
�uu ss
Output for 4.3.0 - 4.3.1

Process exited with code 139.