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 - 7.1.0
ss
Output for 4.3.2 - 5.1.6
�uu ss
Output for 4.3.0 - 4.3.1

Process exited with code 139.