3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.56 ms | 1400 KiB | 15 Q