3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // text includes line breaks $text_with_line_breaks = "1st\n2nd\3rd\n" $body=highlight_string ( $text_with_line_breaks, $return=TRUE); // $body is a single line, without line breaks ?>
Output for 5.4.0 - 5.5.7
Parse error: syntax error, unexpected '$body' (T_VARIABLE) in /in/J8S1t on line 4
Process exited with code 255.
Output for 5.3.0 - 5.3.28
Parse error: syntax error, unexpected T_VARIABLE in /in/J8S1t on line 4
Process exited with code 255.