3v4l.org

run code in 300+ PHP versions simultaneously
<?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);

preferences:
38.69 ms | 402 KiB | 5 Q