3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = array (2000,7000,3000); $fuzzyprocessormax = 6000; $fuzzyprocessormin = 5000; $rekomendasi = 1000; $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 = 38
Branch analysis from position: 38
2 jumps found. (Code = 44) Position 1 = 40, Position 2 = 8
Branch analysis from position: 40
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 8
2 jumps found. (Code = 43) Position 1 = 10, Position 2 = 14
Branch analysis from position: 10
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 47) Position 1 = 16, Position 2 = 18
Branch analysis from position: 16
2 jumps found. (Code = 43) Position 1 = 19, Position 2 = 28
Branch analysis from position: 19
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 = 8
Branch analysis from position: 40
Branch analysis from position: 8
Branch analysis from position: 33
2 jumps found. (Code = 44) Position 1 = 40, Position 2 = 8
Branch analysis from position: 40
Branch analysis from position: 8
Branch analysis from position: 18
filename:       /in/TPXTt
function name:  (null)
number of ops:  41
compiled vars:  !0 = $row, !1 = $fuzzyprocessormax, !2 = $fuzzyprocessormin, !3 = $rekomendasi, !4 = $arrlength, !5 = $x
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
    8     3        ASSIGN                                                   !3, 1000
   10     4        COUNT                                            ~10     !0
          5        ASSIGN                                                   !4, ~10
   12     6        ASSIGN                                                   !5, 0
          7      > JMP                                                      ->38
   17     8    >   IS_SMALLER_OR_EQUAL                                      !0, !2
          9      > JMPZ                                                     ~13, ->14
   20    10    >   ECHO                                                     'Kebutuhan+fuzzy+0'
   21    11        ECHO                                                     !4
   22    12      > EXIT                                                     
         13*       JMP                                                      ->37
   26    14    >   IS_SMALLER_OR_EQUAL                              ~14     !2, !0
         15      > JMPNZ_EX                                         ~14     ~14, ->18
         16    >   IS_SMALLER_OR_EQUAL                              ~15     !0, !1
         17        BOOL                                             ~14     ~15
         18    > > JMPZ                                                     ~14, ->28
   28    19    >   SUB                                              ~16     !1, !0
         20        SUB                                              ~17     !1, !2
         21        DIV                                              ~18     ~16, ~17
         22        ASSIGN                                                   !3, ~18
   29    23        CONCAT                                           ~20     'Kebutuhan+fuzzy+', !3
         24        ECHO                                                     ~20
         25      > EXIT                                                     
   30    26*       ECHO                                                     !4
         27*       JMP                                                      ->37
   34    28    >   IS_SMALLER_OR_EQUAL                                      !1, !0
         29      > JMPZ                                                     ~21, ->33
   37    30    >   ECHO                                                     'Kebutuhan+fuzzy+1'
   38    31        ECHO                                                     !4
         32      > JMP                                                      ->37
   40    33    >   INIT_FCALL                                               'header'
         34        SEND_VAL                                                 'Location%3A+..%2Fprocessor.html'
         35        DO_ICALL                                         $22     
         36        ECHO                                                     $22
   12    37    >   PRE_INC                                                  !5
         38    >   IS_SMALLER                                               !5, !4
         39      > JMPNZ                                                    ~24, ->8
   47    40    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
145.45 ms | 1400 KiB | 15 Q