3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $highlightedString = highlight_string("<?php \n 09;", true); var_dump($highlightedString); ?>
based on 2OK7N
Output for 7.0.2 - 7.2.0
string(153) "<code><span style="color: #000000"> <span style="color: #0000BB">&lt;?php&nbsp;<br />&nbsp;</span><span style="color: #007700">09;</span> </span> </code>"
Output for 7.0.0 - 7.0.1
Parse error: Invalid numeric literal in /in/XCWND(3) : highlighted code on line 2
Process exited with code 255.
Output for 5.3.20 - 5.6.28
string(153) "<code><span style="color: #000000"> <span style="color: #0000BB">&lt;?php&nbsp;<br />&nbsp;09</span><span style="color: #007700">;</span> </span> </code>"