3v4l.org

run code in 300+ PHP versions simultaneously
<?php error_reporting(-1); $obj = new stdClass(); echo $obj['nope']; echo $obj['nope']['sure'];
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/bCV8B
function name:  (null)
number of ops:  12
compiled vars:  !0 = $obj
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   INIT_FCALL                                               'error_reporting'
          1        SEND_VAL                                                 -1
          2        DO_ICALL                                                 
    5     3        NEW                                              $2      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN                                                   !0, $2
    7     6        FETCH_DIM_R                                      ~5      !0, 'nope'
          7        ECHO                                                     ~5
    8     8        FETCH_DIM_R                                      ~6      !0, 'nope'
          9        FETCH_DIM_R                                      ~7      ~6, 'sure'
         10        ECHO                                                     ~7
         11      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
179.76 ms | 1398 KiB | 15 Q