3v4l.org

run code in 300+ PHP versions simultaneously
<?php $x = $GLOBALS; $GLOBALS['y'] = 3; var_dump($x['y']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/csHbr
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_R                      global              ~1      'GLOBALS'
          1        ASSIGN                                                   !0, ~1
    4     2        FETCH_W                      global              $3      'GLOBALS'
          3        ASSIGN_DIM                                               $3, 'y'
          4        OP_DATA                                                  3
    5     5        INIT_FCALL                                               'var_dump'
          6        FETCH_DIM_R                                      ~5      !0, 'y'
          7        SEND_VAL                                                 ~5
          8        DO_ICALL                                                 
          9      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.48 ms | 1393 KiB | 15 Q