3v4l.org

run code in 300+ PHP versions simultaneously
<HTML> <HEAD> </HEAD> <BODY> <form action="" method="GET"> Podaj date swoich urodzin <br> Dzien:<input type="text" name="dzien" /> <br> Miesiac:<input type="text" name="miesiac" /> <br> Rok:<input type="text" name="rok" /> <br> <input type = "submit" value="Podaj date!"/> </form> <?php if(isset($_GET["rok"])){ $dzien = date("d"); $miesiac = date("m"); $rok = date("y"); $dzienm = $_GET["dzien"]; $miesiacm = $_GET["miesiac"]; $rokm = $_GET["rok"]; echo "dzis jest:".date("d").date("m").date("y")."<br>"; if($dzien==$dzienm && $miesiac == $miesiacm && $rok == $rokm){ echo "Masz dzis urodziny!";}else{ echo "Nie masz urodzin, sory!"; } } ?> </body> </html>
Output for git.master, git.master_jit, rfc.property-hooks
<HTML> <HEAD> </HEAD> <BODY> <form action="" method="GET"> Podaj date swoich urodzin <br> Dzien:<input type="text" name="dzien" /> <br> Miesiac:<input type="text" name="miesiac" /> <br> Rok:<input type="text" name="rok" /> <br> <input type = "submit" value="Podaj date!"/> </form> </body> </html>

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:
41.54 ms | 401 KiB | 8 Q