3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
206.87 ms | 1394 KiB | 15 Q