3v4l.org

run code in 300+ PHP versions simultaneously
<?php class AO extends ArrayObject { } $x = new AO; $x[3] = new AO; $x[3][2] = 'foo';
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nNrk1
function name:  (null)
number of ops:  11
compiled vars:  !0 = $x
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   NEW                                              $1      'AO'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $1
   10     3        NEW                                              $5      'AO'
          4        DO_FCALL                                      0          
          5        ASSIGN_DIM                                               !0, 3
          6        OP_DATA                                                  $5
   11     7        FETCH_DIM_W                                      $7      !0, 3
          8        ASSIGN_DIM                                               $7, 2
          9        OP_DATA                                                  'foo'
         10      > RETURN                                                   1

Class AO: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
156.87 ms | 1393 KiB | 13 Q