3v4l.org

run code in 300+ PHP versions simultaneously
<?php $z = 'zee'; $o = new stdClass($a=28); $arr = get_defined_vars(); var_dump($arr['z'],$arr['a']);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/9oprv
function name:  (null)
number of ops:  16
compiled vars:  !0 = $z, !1 = $o, !2 = $a, !3 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, 'zee'
    3     1        NEW                                              $5      'stdClass'
          2        ASSIGN                                           ~6      !2, 28
          3        SEND_VAL_EX                                              ~6
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !1, $5
    4     6        INIT_FCALL                                               'get_defined_vars'
          7        DO_ICALL                                         $9      
          8        ASSIGN                                                   !3, $9
    5     9        INIT_FCALL                                               'var_dump'
         10        FETCH_DIM_R                                      ~11     !3, 'z'
         11        SEND_VAL                                                 ~11
         12        FETCH_DIM_R                                      ~12     !3, 'a'
         13        SEND_VAL                                                 ~12
         14        DO_ICALL                                                 
         15      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
161.28 ms | 1394 KiB | 17 Q