3v4l.org

run code in 300+ PHP versions simultaneously
<html><body><?php function hesapla($x,$y){ echo "x in değeri= ".$x."<br>"; echo "y in değeri= ".$y."<br>"; $sonuc=$y; for ($i=1;$i<=2;$i++) { $sonuc+=$i; } return $sonuc; } $a=12; $b=3; $c=hesapla($a/$b, $a+$b); echo "a in değeri= ".$a."<br>"; echo "b in değeri= ".$b."<br>"; echo "c in değeri= ".$c."<br>"; ?> </body></html>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/e0W0c
function name:  (null)
number of ops:  21
compiled vars:  !0 = $a, !1 = $b, !2 = $c
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    1     0  E >   ECHO                                                     '%3Chtml%3E%3Cbody%3E'
   16     1        ASSIGN                                                   !0, 12
   17     2        ASSIGN                                                   !1, 3
   18     3        INIT_FCALL                                               'hesapla'
          4        DIV                                              ~5      !0, !1
          5        SEND_VAL                                                 ~5
          6        ADD                                              ~6      !0, !1
          7        SEND_VAL                                                 ~6
          8        DO_FCALL                                      0  $7      
          9        ASSIGN                                                   !2, $7
   19    10        CONCAT                                           ~9      'a+in+de%C4%9Feri%3D+', !0
         11        CONCAT                                           ~10     ~9, '%3Cbr%3E'
         12        ECHO                                                     ~10
   20    13        CONCAT                                           ~11     'b+in+de%C4%9Feri%3D+', !1
         14        CONCAT                                           ~12     ~11, '%3Cbr%3E'
         15        ECHO                                                     ~12
   21    16        CONCAT                                           ~13     'c+in+de%C4%9Feri%3D+', !2
         17        CONCAT                                           ~14     ~13, '%3Cbr%3E'
         18        ECHO                                                     ~14
   23    19        ECHO                                                     '+%3C%2Fbody%3E%3C%2Fhtml%3E'
         20      > RETURN                                                   1

Function hesapla:
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 11
Branch analysis from position: 15
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 11
2 jumps found. (Code = 44) Position 1 = 15, Position 2 = 11
Branch analysis from position: 15
Branch analysis from position: 11
filename:       /in/e0W0c
function name:  hesapla
number of ops:  17
compiled vars:  !0 = $x, !1 = $y, !2 = $sonuc, !3 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   RECV                                             !0      
          1        RECV                                             !1      
    3     2        CONCAT                                           ~4      'x+in+de%C4%9Feri%3D+', !0
          3        CONCAT                                           ~5      ~4, '%3Cbr%3E'
          4        ECHO                                                     ~5
    4     5        CONCAT                                           ~6      'y+in+de%C4%9Feri%3D+', !1
          6        CONCAT                                           ~7      ~6, '%3Cbr%3E'
          7        ECHO                                                     ~7
    5     8        ASSIGN                                                   !2, !1
    6     9        ASSIGN                                                   !3, 1
         10      > JMP                                                      ->13
    8    11    >   ASSIGN_OP                                     1          !2, !3
    6    12        PRE_INC                                                  !3
         13    >   IS_SMALLER_OR_EQUAL                                      !3, 2
         14      > JMPNZ                                                    ~12, ->11
   10    15    > > RETURN                                                   !2
   11    16*     > RETURN                                                   null

End of function hesapla

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
165.81 ms | 1403 KiB | 14 Q