3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = null; echo preg_replace('/\s+/', '', $string);
Output for 7.1.3