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/unuc7
function name:  (null)
number of ops:  8
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
    6     3        NEW                                              $6      'stdClass'
          4        DO_FCALL                                      0          
          5        ASSIGN_DIM                                               !1, 'object'
          6        OP_DATA                                                  $6
          7      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.05 ms | 1392 KiB | 13 Q