3v4l.org

run code in 300+ PHP versions simultaneously
<?php $_GET['GET_PAGE_ID'] = 'hello world'; $pageID = isset($_GET[GET_PAGE_ID]) ? $_GET[GET_PAGE_ID] : 6; echo $pageID;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 43) Position 1 = 7, Position 2 = 12
Branch analysis from position: 7
1 jumps found. (Code = 42) Position 1 = 13
Branch analysis from position: 13
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 12
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/EgJon
function name:  (null)
number of ops:  16
compiled vars:  !0 = $pageID
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_W                      global              $1      '_GET'
          1        ASSIGN_DIM                                               $1, 'GET_PAGE_ID'
          2        OP_DATA                                                  'hello+world'
    5     3        FETCH_CONSTANT                                   ~4      'GET_PAGE_ID'
          4        FETCH_IS                                         ~3      '_GET'
          5        ISSET_ISEMPTY_DIM_OBJ                         0          ~3, ~4
          6      > JMPZ                                                     ~5, ->12
    6     7    >   FETCH_CONSTANT                                   ~7      'GET_PAGE_ID'
          8        FETCH_R                      global              ~6      '_GET'
          9        FETCH_DIM_R                                      ~8      ~6, ~7
         10        QM_ASSIGN                                        ~9      ~8
         11      > JMP                                                      ->13
    7    12    >   QM_ASSIGN                                        ~9      6
    5    13    >   ASSIGN                                                   !0, ~9
    9    14        ECHO                                                     !0
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.65 ms | 1397 KiB | 13 Q