3v4l.org

run code in 300+ PHP versions simultaneously
<?php $miestnost_w = 350; $miestnost_h = 375; $rozostup = 15; $dlzka = 0; $dlhsie = ($miestnost_w>$miestnost_h? $miestnost_w: $miestnost_h); for($i=1; $i < ($dlhsie/($rozostup*2)); $i++) { $dlzka += $miestnost_w-($i*($rozostup*2)); $dlzka += $miestnost_h-($i*($rozostup*2)); } echo ($dlzka*2)/100;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 8
Branch analysis from position: 6
1 jumps found. (Code = 42) Position 1 = 9
Branch analysis from position: 9
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 12
Branch analysis from position: 25
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 44) Position 1 = 25, Position 2 = 12
Branch analysis from position: 25
Branch analysis from position: 12
Branch analysis from position: 8
1 jumps found. (Code = 42) Position 1 = 21
Branch analysis from position: 21
filename:       /in/k4poP
function name:  (null)
number of ops:  29
compiled vars:  !0 = $miestnost_w, !1 = $miestnost_h, !2 = $rozostup, !3 = $dlzka, !4 = $dlhsie, !5 = $i
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, 350
    4     1        ASSIGN                                                   !1, 375
    6     2        ASSIGN                                                   !2, 15
    8     3        ASSIGN                                                   !3, 0
   10     4        IS_SMALLER                                               !1, !0
          5      > JMPZ                                                     ~10, ->8
          6    >   QM_ASSIGN                                        ~11     !0
          7      > JMP                                                      ->9
          8    >   QM_ASSIGN                                        ~11     !1
          9    >   ASSIGN                                                   !4, ~11
   12    10        ASSIGN                                                   !5, 1
         11      > JMP                                                      ->21
   14    12    >   MUL                                              ~14     !2, 2
         13        MUL                                              ~15     !5, ~14
         14        SUB                                              ~16     !0, ~15
         15        ASSIGN_OP                                     1          !3, ~16
   15    16        MUL                                              ~18     !2, 2
         17        MUL                                              ~19     !5, ~18
         18        SUB                                              ~20     !1, ~19
         19        ASSIGN_OP                                     1          !3, ~20
   12    20        PRE_INC                                                  !5
         21    >   MUL                                              ~23     !2, 2
         22        DIV                                              ~24     !4, ~23
         23        IS_SMALLER                                               !5, ~24
         24      > JMPNZ                                                    ~25, ->12
   18    25    >   MUL                                              ~26     !3, 2
         26        DIV                                              ~27     ~26, 100
         27        ECHO                                                     ~27
         28      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
144.11 ms | 1395 KiB | 13 Q