3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo nl2br(' foobar barfoo ');

preferences:
61.39 ms | 402 KiB | 5 Q