3v4l.org

run code in 300+ PHP versions simultaneously
<?php // variables $name = "Jerry"; $age = "22"; $looks = "Ugly"; ?> <h1>Whaddup <?= $name ?>!?</h1> <br> <p>You are <strong><?= $age ?></strong> and <strong><?= $looks ? ></strong>.</p>
Output for 5.4.0 - 5.4.26
Parse error: syntax error, unexpected '>' in /in/rkBEA on line 15
Process exited with code 255.
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29
<h1>Whaddup <?= $name ?>!?</h1> <br> <p>You are <strong><?= $age ?></strong> and <strong><?= $looks ? ></strong>.</p>

preferences:
210.23 ms | 1396 KiB | 117 Q