3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = 'foo o a a'; $str = preg_replace('/\s/', '', $str); // This will be 'foo o' now echo $str;
based on HM9hH
Output for 4.3.0 - 7.2.0
foooaa