3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php show_source(__FILE__);
Output for 5.0.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
<code><span style="color: #000000"> <span style="color: #0000BB">&lt;?php<br /><br />show_source</span><span style="color: #007700">(</span><span style="color: #0000BB">__FILE__</span><span style="color: #007700">);</span> </span> </code>
Output for hhvm-3.10.0
Fatal error: Call to undefined function show_source() in /in/9iSgD on line 3
Process exited with code 255.
Output for 4.3.0 - 4.4.9
<code><font color="#000000"> <font color="#0000BB">&lt;?php<br /><br />show_source</font><font color="#007700">(</font><font color="#0000BB">__FILE__</font><font color="#007700">);</font> </font> </code>