3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); ini_set('display_errors', true); $target=13; $try=(isset($_POST['number'])) ? $try+1 : 1; if(!isset($_POST['guess'])){ $message="welcome to geuss machine";} elseif(!is_numeric($_POST['guess'])){ $message="inpute is unidentify";} elseif($_POST['guess']<$target){ $message="it's to small!";} elseif($_POST['guess']>$target){ $message="it's to big!";} elseif($_POST['guess']=$target){ $message="you win number was:$target";} else $message="it's confusing!"; ?>
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 11, Position 2 = 14
Branch analysis from position: 11
1 jumps found. (Code = 42) Position 1 = 15
Branch analysis from position: 15
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
1 jumps found. (Code = 42) Position 1 = 52
Branch analysis from position: 52
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 22
2 jumps found. (Code = 43) Position 1 = 29, Position 2 = 31
Branch analysis from position: 29
1 jumps found. (Code = 42) Position 1 = 52
Branch analysis from position: 52
Branch analysis from position: 31
2 jumps found. (Code = 43) Position 1 = 35, Position 2 = 37
Branch analysis from position: 35
1 jumps found. (Code = 42) Position 1 = 52
Branch analysis from position: 52
Branch analysis from position: 37
2 jumps found. (Code = 43) Position 1 = 41, Position 2 = 43
Branch analysis from position: 41
1 jumps found. (Code = 42) Position 1 = 52
Branch analysis from position: 52
Branch analysis from position: 43
2 jumps found. (Code = 43) Position 1 = 47, Position 2 = 51
Branch analysis from position: 47
1 jumps found. (Code = 42) Position 1 = 52
Branch analysis from position: 52
Branch analysis from position: 51
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 14
2 jumps found. (Code = 43) Position 1 = 20, Position 2 = 22
Branch analysis from position: 20
Branch analysis from position: 22
filename:       /in/NflNu
function name:  (null)
number of ops:  53
compiled vars:  !0 = $target, !1 = $try, !2 = $message
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    4     3        INIT_FCALL                                               'ini_set'
          4        SEND_VAL                                                 'display_errors'
          5        SEND_VAL                                                 <true>
          6        DO_ICALL                                                 
    6     7        ASSIGN                                                   !0, 13
    8     8        FETCH_IS                                         ~6      '_POST'
          9        ISSET_ISEMPTY_DIM_OBJ                         0          ~6, 'number'
         10      > JMPZ                                                     ~7, ->14
         11    >   ADD                                              ~8      !1, 1
         12        QM_ASSIGN                                        ~9      ~8
         13      > JMP                                                      ->15
         14    >   QM_ASSIGN                                        ~9      1
         15    >   ASSIGN                                                   !1, ~9
   10    16        FETCH_IS                                         ~11     '_POST'
         17        ISSET_ISEMPTY_DIM_OBJ                         0  ~12     ~11, 'guess'
         18        BOOL_NOT                                         ~13     ~12
         19      > JMPZ                                                     ~13, ->22
   11    20    >   ASSIGN                                                   !2, 'welcome+to+geuss+machine'
         21      > JMP                                                      ->52
   13    22    >   INIT_FCALL                                               'is_numeric'
         23        FETCH_R                      global              ~15     '_POST'
         24        FETCH_DIM_R                                      ~16     ~15, 'guess'
         25        SEND_VAL                                                 ~16
         26        DO_ICALL                                         $17     
         27        BOOL_NOT                                         ~18     $17
         28      > JMPZ                                                     ~18, ->31
   14    29    >   ASSIGN                                                   !2, 'inpute+is+unidentify'
         30      > JMP                                                      ->52
   16    31    >   FETCH_R                      global              ~20     '_POST'
         32        FETCH_DIM_R                                      ~21     ~20, 'guess'
         33        IS_SMALLER                                               ~21, !0
         34      > JMPZ                                                     ~22, ->37
   17    35    >   ASSIGN                                                   !2, 'it%27s+to+small%21'
         36      > JMP                                                      ->52
   19    37    >   FETCH_R                      global              ~24     '_POST'
         38        FETCH_DIM_R                                      ~25     ~24, 'guess'
         39        IS_SMALLER                                               !0, ~25
         40      > JMPZ                                                     ~26, ->43
   20    41    >   ASSIGN                                                   !2, 'it%27s+to+big%21'
         42      > JMP                                                      ->52
   22    43    >   FETCH_W                      global              $28     '_POST'
         44        ASSIGN_DIM                                       ~29     $28, 'guess'
         45        OP_DATA                                                  !0
         46      > JMPZ                                                     ~29, ->51
   23    47    >   NOP                                                      
         48        FAST_CONCAT                                      ~30     'you+win+number+was%3A', !0
         49        ASSIGN                                                   !2, ~30
         50      > JMP                                                      ->52
   26    51    >   ASSIGN                                                   !2, 'it%27s+confusing%21'
   27    52    > > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.24 ms | 1400 KiB | 19 Q