3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array = array('page' => array('object' => '')); $ref = &$array['page']; $array['page']['object'] = new stdObject(); //$ref['object'] = new stdClass();
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/AfqCQ
function name:  (null)
number of ops:  9
compiled vars:  !0 = $array, !1 = $ref
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, <array>
    4     1        FETCH_DIM_W                                      $3      !0, 'page'
          2        ASSIGN_REF                                               !1, $3
    5     3        NEW                                              $7      'stdObject'
          4        DO_FCALL                                      0          
          5        FETCH_DIM_W                                      $5      !0, 'page'
          6        ASSIGN_DIM                                               $5, 'object'
          7        OP_DATA                                                  $7
    6     8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.9 ms | 1392 KiB | 13 Q