3v4l.org

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

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
288.56 ms | 1394 KiB | 18 Q