3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $text="T E S T R E N T A L A K T I E B O L A G"; echo $text; echo "\n"; echo preg_replace('# (?! )#','',$text);
Output for 4.3.0 - 7.1.0
T E S T R E N T A L A K T I E B O L A G TESTRENTALAKTIEBOLAG