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 } ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 4, Position 2 = 12
Branch analysis from position: 4
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
filename:       /in/ca2SV
function name:  (null)
number of ops:  13
compiled vars:  !0 = $y, !1 = $islem
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Cform+action%3D%22%22+method%3D%22post%22%3E%0A++Karenin+alan%C4%B1n%C4%B1+hesaplama%3Cbr+%2F%3E%0A++Kenar+Uzunlu%C4%9Fu%0A++%3Cinput+name%3D%22y%22+type%3D%22text%22+%2F%3E%0A++%3Cbr+%2F%3E%0A++%3Clabel%3E%0A++++%3Cinput+type%3D%22submit%22+name%3D%22button%22+id%3D%22button%22+value%3D%22Hesapla%22+%2F%3E%0A++%3C%2Flabel%3E%0A%3C%2Fform%3E%0A%0A'
   12     1        FETCH_IS                                         ~2      '_POST'
          2        ISSET_ISEMPTY_DIM_OBJ                         0          ~2, 'button'
          3      > JMPZ                                                     ~3, ->12
   14     4    >   FETCH_R                      global              ~4      '_POST'
          5        FETCH_DIM_R                                      ~5      ~4, 'y'
          6        ASSIGN                                                   !0, ~5
   15     7        MUL                                              ~7      !0, !0
          8        ASSIGN                                                   !1, ~7
   16     9        NOP                                                      
         10        FAST_CONCAT                                      ~9      'Sonu%C3%A7%3A+', !1
         11        ECHO                                                     ~9
   18    12    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.97 ms | 1393 KiB | 13 Q