3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = 1000; $fuzzyprocessormax = 6000; $fuzzyprocessormin = 2000; $rekomendasi = 0.01; // Hitung fuzzy processor min if ($row <= $fuzzyprocessormin ) { echo 'Kebutuhan fuzzy 1'; die(); header("Location: ../processor.html"); } else if ($fuzzyprocessormin <= $row and $row <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row ) / ($fuzzyprocessormax-$fuzzyprocessormin); echo 'Kebutuhan fuzzy '.$rekomendasi; die(); header("Location: ../processor.html");} else if ($row >= $fuzzyprocessormax) { echo 'Kebutuhan fuzzy 0'; die();} else echo header("Location: ../processor.html"); ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 6, Position 2 = 12
Branch analysis from position: 6
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 12
2 jumps found. (Code = 46) Position 1 = 14, Position 2 = 16
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 17, Position 2 = 28
Branch analysis from position: 17
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 = 79) Position 1 = -2
Branch analysis from position: 33
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 16
filename:       /in/nUPv2
function name:  (null)
number of ops:  38
compiled vars:  !0 = $row, !1 = $fuzzyprocessormax, !2 = $fuzzyprocessormin, !3 = $rekomendasi
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 1000
    5     1        ASSIGN                                                   !1, 6000
    6     2        ASSIGN                                                   !2, 2000
    8     3        ASSIGN                                                   !3, 0.01
   14     4        IS_SMALLER_OR_EQUAL                                      !0, !2
          5      > JMPZ                                                     ~8, ->12
   17     6    >   ECHO                                                     'Kebutuhan+fuzzy+1'
          7      > EXIT                                                     
   18     8*       INIT_FCALL                                               'header'
          9*       SEND_VAL                                                 'Location%3A+..%2Fprocessor.html'
         10*       DO_ICALL                                                 
         11*       JMP                                                      ->37
   21    12    >   IS_SMALLER_OR_EQUAL                              ~10     !2, !0
         13      > JMPZ_EX                                          ~10     ~10, ->16
         14    >   IS_SMALLER_OR_EQUAL                              ~11     !0, !1
         15        BOOL                                             ~10     ~11
         16    > > JMPZ                                                     ~10, ->28
   23    17    >   SUB                                              ~12     !1, !0
         18        SUB                                              ~13     !1, !2
         19        DIV                                              ~14     ~12, ~13
         20        ASSIGN                                                   !3, ~14
   25    21        CONCAT                                           ~16     'Kebutuhan+fuzzy+', !3
         22        ECHO                                                     ~16
         23      > EXIT                                                     
   27    24*       INIT_FCALL                                               'header'
         25*       SEND_VAL                                                 'Location%3A+..%2Fprocessor.html'
         26*       DO_ICALL                                                 
         27*       JMP                                                      ->37
   29    28    >   IS_SMALLER_OR_EQUAL                                      !1, !0
         29      > JMPZ                                                     ~18, ->33
   32    30    >   ECHO                                                     'Kebutuhan+fuzzy+0'
         31      > EXIT                                                     
         32*       JMP                                                      ->37
   34    33    >   INIT_FCALL                                               'header'
         34        SEND_VAL                                                 'Location%3A+..%2Fprocessor.html'
         35        DO_ICALL                                         $19     
         36        ECHO                                                     $19
   41    37      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.84 ms | 1392 KiB | 15 Q