3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php highlight_string(' echo "Lorem ipsum {$test[23]->$test2($$$test3[2][abc])} dolor sit amet."; '); ?>
Output for 5.0.5 - 7.1.0
<code><span style="color: #000000"> <br />echo&nbsp;"Lorem&nbsp;ipsum&nbsp;{$test[23]-&gt;$test2($$$test3[2][abc])}&nbsp;dolor&nbsp;sit&nbsp;amet.";<br /></span> </code>
Output for 5.0.0 - 5.0.4
<code><span style="color: #000000"> <br />echo "Lorem ipsum {$test[23]-&gt;$test2($$$test3[2][abc])} dolor sit amet.";<br /></span> </code>
Output for 4.4.0 - 4.4.9
<code><font color="#000000"> <br />echo&nbsp;"Lorem&nbsp;ipsum&nbsp;{$test[23]-&gt;$test2($$$test3[2][abc])}&nbsp;dolor&nbsp;sit&nbsp;amet.";<br /></font> </code>
Output for 4.3.0 - 4.3.11
<code><font color="#000000"> <br />echo "Lorem ipsum {$test[23]-&gt;$test2($$$test3[2][abc])} dolor sit amet.";<br /></font> </code>