3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
166.51 ms | 1394 KiB | 15 Q