3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
154.55 ms | 1396 KiB | 15 Q