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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
172.11 ms | 1399 KiB | 13 Q