3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_ALL); $array = array(); $array['foo']['bar']['baz'] = 'Hello!'; print_r( $array );
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/b8ZaG
function name:  (null)
number of ops:  12
compiled vars:  !0 = $array
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 32767
          2        DO_ICALL                                                 
    3     3        ASSIGN                                                   !0, <array>
    4     4        FETCH_DIM_W                                      $3      !0, 'foo'
          5        FETCH_DIM_W                                      $4      $3, 'bar'
          6        ASSIGN_DIM                                               $4, 'baz'
          7        OP_DATA                                                  'Hello%21'
    5     8        INIT_FCALL                                               'print_r'
          9        SEND_VAR                                                 !0
         10        DO_ICALL                                                 
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
149.95 ms | 1394 KiB | 17 Q