3v4l.org

run code in 300+ PHP versions simultaneously
Find the output for the following code. <?php $string = "This text breaks lines."; $string = nl2br($string); print $string; ?>

preferences:
29.1 ms | 402 KiB | 5 Q