3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(E_STRICT); $header = array('test'); var_dump($header); var_dump($header[0]['class']); die();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 79) Position 1 = -2
filename:       /in/FKjZM
function name:  (null)
number of ops:  14
compiled vars:  !0 = $header
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 2048
          2        DO_ICALL                                                 
    4     3        ASSIGN                                                   !0, <array>
    6     4        INIT_FCALL                                               'var_dump'
          5        SEND_VAR                                                 !0
          6        DO_ICALL                                                 
    7     7        INIT_FCALL                                               'var_dump'
          8        FETCH_DIM_R                                      ~4      !0, 0
          9        FETCH_DIM_R                                      ~5      ~4, 'class'
         10        SEND_VAL                                                 ~5
         11        DO_ICALL                                                 
    8    12      > EXIT                                                     
         13*     > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
150.19 ms | 1385 KiB | 17 Q