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 ) / ($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 = 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 = 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 = 27
Branch analysis from position: 18
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 27
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 32
Branch analysis from position: 29
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: 32
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: 17
filename:       /in/Z7q2R
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    >   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                                                      ->36
   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, ->27
   27    18    >   SUB                                              ~15     !1, !0
         19        SUB                                              ~16     !1, !2
         20        DIV                                              ~17     ~15, ~16
         21        ASSIGN                                                   !5, ~17
   28    22        CONCAT                                           ~19     'Kebutuhan+fuzzy+', !5
         23        ECHO                                                     ~19
         24      > EXIT                                                     
   29    25*       ECHO                                                     !3
         26*       JMP                                                      ->36
   33    27    >   IS_SMALLER_OR_EQUAL                                      !1, !0
         28      > JMPZ                                                     ~20, ->32
   36    29    >   ECHO                                                     'Kebutuhan+fuzzy+1'
   37    30        ECHO                                                     !3
         31      > JMP                                                      ->36
   39    32    >   INIT_FCALL                                               'header'
         33        SEND_VAL                                                 'Location%3A+..%2Fprocessor.html'
         34        DO_ICALL                                         $21     
         35        ECHO                                                     $21
   11    36    >   PRE_INC                                                  !4
         37    >   IS_SMALLER                                               !4, !3
         38      > JMPNZ                                                    ~23, ->7
   46    39    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
158.23 ms | 1400 KiB | 15 Q