3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = null; $x[1] = 2; var_dump($x);
Finding entry points
Branch analysis from position: 0
Jump found. Position 1 = -2
filename:       /in/CWhYb
function name:  (null)
number of ops:  7
compiled vars:  !0 = $x
line     #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   3     0  E >   ASSIGN                                                   !0, null
   4     1        ASSIGN_DIM                                               !0, 1
         2        OP_DATA                                                  2
   5     3        INIT_FCALL                                               'var_dump'
         4        SEND_VAR                                                 !0
         5        DO_ICALL                                                 
         6      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 7.2.0