3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string='x y'; //echo strip_tags(file_get_contents('sample.txt')); //echo preg_replace('#^=+([^=]+)=+$#usm','$1',$string); echo preg_replace('#\n#um','$1',$string);

preferences:
48.22 ms | 402 KiB | 5 Q