3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = array (2000,7000,3000); $fuzzyprocessormax = 6000; $fuzzyprocessormin = 5000; $arrlength = count($row); for($x=0; $x < $arrlength; $x++) { // Hitung fuzzy processor min if ($row[$x] <= $fuzzyprocessormin ) { echo 'Kebutuhan fuzzy 0' ; echo $arrlength; die(); } else if ($fuzzyprocessormin <= $row[$x] or $row[$x] <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row[$x] ) / ($fuzzyprocessormax - $fuzzyprocessormin); echo 'Kebutuhan fuzzy '.$rekomendasi; $arrlength; die(); } else if ($row >= $fuzzyprocessormax) { echo 'Kebutuhan fuzzy 1'; $arrlength; } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 34
Branch analysis from position: 34
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 7
Branch analysis from position: 36
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 47) Position 1 = 17, Position 2 = 20
Branch analysis from position: 17
2 jumps found. (Code = 43) Position 1 = 21, Position 2 = 30
Branch analysis from position: 21
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 30
2 jumps found. (Code = 43) Position 1 = 32, Position 2 = 33
Branch analysis from position: 32
2 jumps found. (Code = 44) Position 1 = 36, Position 2 = 7
Branch analysis from position: 36
Branch analysis from position: 7
Branch analysis from position: 33
Branch analysis from position: 20
filename:       /in/0rZmo
function name:  (null)
number of ops:  37
compiled vars:  !0 = $row, !1 = $fuzzyprocessormax, !2 = $fuzzyprocessormin, !3 = $arrlength, !4 = $x, !5 = $rekomendasi
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, <array>
    5     1        ASSIGN                                                   !1, 6000
    6     2        ASSIGN                                                   !2, 5000
    9     3        COUNT                                            ~9      !0
          4        ASSIGN                                                   !3, ~9
   11     5        ASSIGN                                                   !4, 0
          6      > JMP                                                      ->34
   16     7    >   FETCH_DIM_R                                      ~12     !0, !4
          8        IS_SMALLER_OR_EQUAL                                      ~12, !2
          9      > JMPZ                                                     ~13, ->14
   19    10    >   ECHO                                                     'Kebutuhan+fuzzy+0'
   20    11        ECHO                                                     !3
   21    12      > EXIT                                                     
         13*       JMP                                                      ->33
   25    14    >   FETCH_DIM_R                                      ~14     !0, !4
         15        IS_SMALLER_OR_EQUAL                              ~15     !2, ~14
         16      > JMPNZ_EX                                         ~15     ~15, ->20
         17    >   FETCH_DIM_R                                      ~16     !0, !4
         18        IS_SMALLER_OR_EQUAL                              ~17     ~16, !1
         19        BOOL                                             ~15     ~17
         20    > > JMPZ                                                     ~15, ->30
   27    21    >   FETCH_DIM_R                                      ~18     !0, !4
         22        SUB                                              ~19     !1, ~18
         23        SUB                                              ~20     !1, !2
         24        DIV                                              ~21     ~19, ~20
         25        ASSIGN                                                   !5, ~21
   28    26        CONCAT                                           ~23     'Kebutuhan+fuzzy+', !5
         27        ECHO                                                     ~23
         28      > EXIT                                                     
         29*       JMP                                                      ->33
   33    30    >   IS_SMALLER_OR_EQUAL                                      !1, !0
         31      > JMPZ                                                     ~24, ->33
   36    32    >   ECHO                                                     'Kebutuhan+fuzzy+1'
   11    33    >   PRE_INC                                                  !4
         34    >   IS_SMALLER                                               !4, !3
         35      > JMPNZ                                                    ~26, ->7
   45    36    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.47 ms | 1399 KiB | 13 Q