3v4l.org

run code in 300+ PHP versions simultaneously
<?php $num1 = "5"; $num2 = "6"; var_dump(get_defined_vars()); unset($GLOBALS['num1']); var_dump($GLOBALS); var_dump(get_defined_vars());
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vrCUv
function name:  (null)
number of ops:  19
compiled vars:  !0 = $num1, !1 = $num2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, '5'
    4     1        ASSIGN                                                   !1, '6'
    6     2        INIT_FCALL                                               'var_dump'
          3        INIT_FCALL                                               'get_defined_vars'
          4        DO_ICALL                                         $4      
          5        SEND_VAR                                                 $4
          6        DO_ICALL                                                 
    7     7        FETCH_UNSET                                      $6      'GLOBALS'
          8        UNSET_DIM                                                $6, 'num1'
    8     9        INIT_FCALL                                               'var_dump'
         10        FETCH_R                      global              ~7      'GLOBALS'
         11        SEND_VAL                                                 ~7
         12        DO_ICALL                                                 
    9    13        INIT_FCALL                                               'var_dump'
         14        INIT_FCALL                                               'get_defined_vars'
         15        DO_ICALL                                         $9      
         16        SEND_VAR                                                 $9
         17        DO_ICALL                                                 
         18      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
147.62 ms | 1394 KiB | 17 Q