3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
200.94 ms | 2866 KiB | 9 Q