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('# (?! )#g','',$text);
Output for 4.3.11 - 7.1.0
T E S T R E N T A L A K T I E B O L A G Warning: preg_replace(): Unknown modifier 'g' in /in/LeS8N on line 5
Output for 4.3.0 - 4.3.10
T E S T R E N T A L A K T I E B O L A G Warning: Unknown modifier 'g' in /in/LeS8N on line 5