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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
159.1 ms | 1399 KiB | 13 Q