3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $string = html_entity_decode('&auml;&uuml;uu'); 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.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
äüuu ss
Output for 5.2.0 - 5.3.29
ss
Output for 4.3.0 - 5.1.6
�uu ss