3v4l.org

run code in 300+ PHP versions simultaneously
<?php $row = 4000; $fuzzyprocessormax = 6000; $fuzzyprocessormin = 2000; if ($selected_radio == 'office') { $office_status = 'checked'; while($row = mysql_fetch_array($selectprocessor)) { // Hitung fuzzy processor min if ($row <= $fuzzyprocessormin ) { mysql_query ( "UPDATE processor SET kebutuhan_fuzzy = '1'"); echo 'Kebutuhan fuzzy 1'; die(); header("Location: ../processor.html"); } else if ($fuzzyprocessormin <= $row or $row <= $fuzzyprocessormax ) { $rekomendasi = ($fuzzyprocessormax - $row ) / ($fuzzyprocessormax-$fuzzyprocessormin); mysql_query ( "UPDATE processor SET kebutuhan_fuzzy = '$rekomendasi'"); echo 'Kebutuhan fuzzy '.$rekomendasi; die(); header("Location: ../processor.html");} else if ($row >= $fuzzyprocessormax) { mysql_query ( "UPDATE processor SET kebutuhan_fuzzy = '0' "); 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 = 5, Position 2 = 57
Branch analysis from position: 5
1 jumps found. (Code = 42) Position 1 = 52
Branch analysis from position: 52
2 jumps found. (Code = 44) Position 1 = 57, Position 2 = 7
Branch analysis from position: 57
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 7
2 jumps found. (Code = 43) Position 1 = 9, Position 2 = 18
Branch analysis from position: 9
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 18
2 jumps found. (Code = 47) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
2 jumps found. (Code = 43) Position 1 = 23, Position 2 = 40
Branch analysis from position: 23
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 40
2 jumps found. (Code = 43) Position 1 = 42, Position 2 = 48
Branch analysis from position: 42
1 jumps found. (Code = 79) Position 1 = -2
Branch analysis from position: 48
2 jumps found. (Code = 44) Position 1 = 57, Position 2 = 7
Branch analysis from position: 57
Branch analysis from position: 7
Branch analysis from position: 22
Branch analysis from position: 57
filename:       /in/Pvbev
function name:  (null)
number of ops:  58
compiled vars:  !0 = $row, !1 = $fuzzyprocessormax, !2 = $fuzzyprocessormin, !3 = $selected_radio, !4 = $office_status, !5 = $rekomendasi, !6 = $selectprocessor
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   ASSIGN                                                   !0, 4000
    5     1        ASSIGN                                                   !1, 6000
    6     2        ASSIGN                                                   !2, 2000
    9     3        IS_EQUAL                                                 !3, 'office'
          4      > JMPZ                                                     ~10, ->57
   10     5    >   ASSIGN                                                   !4, 'checked'
   12     6      > JMP                                                      ->52
   16     7    >   IS_SMALLER_OR_EQUAL                                      !0, !2
          8      > JMPZ                                                     ~12, ->18
   18     9    >   INIT_FCALL_BY_NAME                                       'mysql_query'
         10        SEND_VAL_EX                                              'UPDATE+processor+SET++kebutuhan_fuzzy+%3D+%271%27'
         11        DO_FCALL                                      0          
   19    12        ECHO                                                     'Kebutuhan+fuzzy+1'
         13      > EXIT                                                     
   20    14*       INIT_FCALL                                               'header'
         15*       SEND_VAL                                                 'Location%3A+..%2Fprocessor.html'
         16*       DO_ICALL                                                 
         17*       JMP                                                      ->52
   23    18    >   IS_SMALLER_OR_EQUAL                              ~15     !2, !0
         19      > JMPNZ_EX                                         ~15     ~15, ->22
         20    >   IS_SMALLER_OR_EQUAL                              ~16     !0, !1
         21        BOOL                                             ~15     ~16
         22    > > JMPZ                                                     ~15, ->40
   25    23    >   SUB                                              ~17     !1, !0
         24        SUB                                              ~18     !1, !2
         25        DIV                                              ~19     ~17, ~18
         26        ASSIGN                                                   !5, ~19
   26    27        INIT_FCALL_BY_NAME                                       'mysql_query'
         28        ROPE_INIT                                     3  ~22     'UPDATE+processor+SET++kebutuhan_fuzzy+%3D+%27'
         29        ROPE_ADD                                      1  ~22     ~22, !5
         30        ROPE_END                                      2  ~21     ~22, '%27'
         31        SEND_VAL_EX                                              ~21
         32        DO_FCALL                                      0          
   27    33        CONCAT                                           ~25     'Kebutuhan+fuzzy+', !5
         34        ECHO                                                     ~25
         35      > EXIT                                                     
   29    36*       INIT_FCALL                                               'header'
         37*       SEND_VAL                                                 'Location%3A+..%2Fprocessor.html'
         38*       DO_ICALL                                                 
         39*       JMP                                                      ->52
   31    40    >   IS_SMALLER_OR_EQUAL                                      !1, !0
         41      > JMPZ                                                     ~27, ->48
   33    42    >   INIT_FCALL_BY_NAME                                       'mysql_query'
         43        SEND_VAL_EX                                              'UPDATE+processor+SET++kebutuhan_fuzzy+%3D+%270%27+'
         44        DO_FCALL                                      0          
   34    45        ECHO                                                     'Kebutuhan+fuzzy+0'
         46      > EXIT                                                     
         47*       JMP                                                      ->52
   36    48    >   INIT_FCALL                                               'header'
         49        SEND_VAL                                                 'Location%3A+..%2Fprocessor.html'
         50        DO_ICALL                                         $29     
         51        ECHO                                                     $29
   12    52    >   INIT_FCALL_BY_NAME                                       'mysql_fetch_array'
         53        SEND_VAR_EX                                              !6
         54        DO_FCALL                                      0  $30     
         55        ASSIGN                                           ~31     !0, $30
         56      > JMPNZ                                                    ~31, ->7
   43    57    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.1 ms | 1392 KiB | 15 Q