3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.41 ms | 1393 KiB | 13 Q