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 $row[$x]; die(); } else if ($fuzzyprocessormin <= $row[$x] or $row[$x] <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row[$x] ) / ($fuzzyprocessormax - $fuzzyprocessormin); echo 'Kebutuhan fuzzy '.$rekomendasi; $row[$x]; die(); } else if ($row >= $fuzzyprocessormax) { echo 'Kebutuhan fuzzy 1'; $row[$x]; } } ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 42) Position 1 = 39
Branch analysis from position: 39
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 7
Branch analysis from position: 41
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 15
Branch analysis from position: 10
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 15
2 jumps found. (Code = 47) Position 1 = 18, Position 2 = 21
Branch analysis from position: 18
2 jumps found. (Code = 43) Position 1 = 22, Position 2 = 33
Branch analysis from position: 22
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 33
2 jumps found. (Code = 43) Position 1 = 35, Position 2 = 38
Branch analysis from position: 35
2 jumps found. (Code = 44) Position 1 = 41, Position 2 = 7
Branch analysis from position: 41
Branch analysis from position: 7
Branch analysis from position: 38
Branch analysis from position: 21
filename:       /in/GWYLf
function name:  (null)
number of ops:  42
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                                                      ->39
   16     7    >   FETCH_DIM_R                                      ~12     !0, !4
          8        IS_SMALLER_OR_EQUAL                                      ~12, !2
          9      > JMPZ                                                     ~13, ->15
   19    10    >   ECHO                                                     'Kebutuhan+fuzzy+0'
   21    11        FETCH_DIM_R                                      ~14     !0, !4
         12        ECHO                                                     ~14
   22    13      > EXIT                                                     
         14*       JMP                                                      ->38
   26    15    >   FETCH_DIM_R                                      ~15     !0, !4
         16        IS_SMALLER_OR_EQUAL                              ~16     !2, ~15
         17      > JMPNZ_EX                                         ~16     ~16, ->21
         18    >   FETCH_DIM_R                                      ~17     !0, !4
         19        IS_SMALLER_OR_EQUAL                              ~18     ~17, !1
         20        BOOL                                             ~16     ~18
         21    > > JMPZ                                                     ~16, ->33
   28    22    >   FETCH_DIM_R                                      ~19     !0, !4
         23        SUB                                              ~20     !1, ~19
         24        SUB                                              ~21     !1, !2
         25        DIV                                              ~22     ~20, ~21
         26        ASSIGN                                                   !5, ~22
   29    27        CONCAT                                           ~24     'Kebutuhan+fuzzy+', !5
         28        ECHO                                                     ~24
         29        FETCH_DIM_R                                      ~25     !0, !4
         30        FREE                                                     ~25
   30    31      > EXIT                                                     
         32*       JMP                                                      ->38
   35    33    >   IS_SMALLER_OR_EQUAL                                      !1, !0
         34      > JMPZ                                                     ~26, ->38
   38    35    >   ECHO                                                     'Kebutuhan+fuzzy+1'
   39    36        FETCH_DIM_R                                      ~27     !0, !4
         37        FREE                                                     ~27
   11    38    >   PRE_INC                                                  !4
         39    >   IS_SMALLER                                               !4, !3
         40      > JMPNZ                                                    ~29, ->7
   47    41    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.57 ms | 1399 KiB | 13 Q