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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.43 ms | 1392 KiB | 15 Q