3v4l.org

run code in 300+ PHP versions simultaneously
<?php $foo = 'writing code'; echo "<h1 class=\"hstyle4\">Hello World</h1>"; echo "<p>I am {$foo}, specifically HTML, inside of PHP using echo."; echo 'but I could just as easily have broken it into html and used only what I needed.</p>';
Output for git.master, git.master_jit, rfc.property-hooks
<h1 class="hstyle4">Hello World</h1><p>I am writing code, specifically HTML, inside of PHP using echo.but I could just as easily have broken it into html and used only what I needed.</p>

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
66.18 ms | 401 KiB | 8 Q