3v4l.org

run code in 300+ PHP versions simultaneously
<form action="" method="post"> Karenin alanını hesaplama<br /> Kenar Uzunluğu <input name="y" type="text" /> <br /> <label> <input type="submit" name="button" id="button" value="Hesapla" /> </label> </form> <?php if(isset($_POST["button"])) //isset kodu button'a tıklanıp tıklanmadıgını kontrol ediyor.Tıklanmış ise if içindeki değerleri çalıştırıyor. { $y=$_POST['y']; //Sayıyı çekip $y değişkenine aktardık. $islem=$y*$y; // Karenin alan formülü echo "Sonuç: $islem"; // Sonucu ekrana yazdırma } ?>
Output for git.master, git.master_jit, rfc.property-hooks
<form action="" method="post"> Karenin alanını hesaplama<br /> Kenar Uzunluğu <input name="y" type="text" /> <br /> <label> <input type="submit" name="button" id="button" value="Hesapla" /> </label> </form>

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.5 ms | 401 KiB | 8 Q