3v4l.org

run code in 500+ PHP versions simultaneously
<?php $anun = "Ani"; $cnndyan_tiv = "2005-09-15"; $ser = "axchik"; $today_md = date('m-d'); $bday_md = date('m-d', strtotime($cnndyan_tiv)); if ($today_md === $bday_md) { echo "<h1>Happy Birthday, $anun! 🎉</h1>"; if ($ser === "txa") { echo '<div style="font-size: 80px;">🏎️</div>'; echo '<img src="https://cdn-icons-png.flaticon.com/512/744/744465.png" alt="Car" width="200">'; } elseif ($ser === "axchik") { echo '<div style="font-size: 80px;">💐</div>'; echo '<img src="https://cdn-icons-png.flaticon.com/512/628/628324.png" alt="Flowers" width="200">'; } } else { echo "<p>Այսօր $anun-ի ծննդյան օրը չէ։</p>"; } ?>
Output for git.master, git.master_jit
<h1>Happy Birthday, Ani! 🎉</h1><div style="font-size: 80px;">💐</div><img src="https://cdn-icons-png.flaticon.com/512/628/628324.png" alt="Flowers" width="200">

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:
49.4 ms | 796 KiB | 4 Q