3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a=array(); $a['x']=7; $a['y']=null; echo $a['x']; echo $a['y']; echo $a['z']; ?>
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/H5EMV
function name:  (null)
number of ops:  12
compiled vars:  !0 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   ASSIGN                                                   !0, <array>
    3     1        ASSIGN_DIM                                               !0, 'x'
          2        OP_DATA                                                  7
    4     3        ASSIGN_DIM                                               !0, 'y'
          4        OP_DATA                                                  null
    5     5        FETCH_DIM_R                                      ~4      !0, 'x'
          6        ECHO                                                     ~4
    6     7        FETCH_DIM_R                                      ~5      !0, 'y'
          8        ECHO                                                     ~5
    7     9        FETCH_DIM_R                                      ~6      !0, 'z'
         10        ECHO                                                     ~6
    8    11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
146.95 ms | 1393 KiB | 13 Q