3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo nl2br("Hello<br />\nmy<br />\nfriend<br />\n\r", TRUE);

preferences:
62.27 ms | 404 KiB | 5 Q