3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr = new ArrayObject(array((object) array('date' => 1), (object) array('date' => 2)), ArrayObject::STD_PROP_LIST); var_dump($arr);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vEQY5
function name:  (null)
number of ops:  13
compiled vars:  !0 = $arr
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $1      'ArrayObject'
          1        CAST                                          8  ~2      <array>
          2        INIT_ARRAY                                       ~3      ~2
          3        CAST                                          8  ~4      <array>
          4        ADD_ARRAY_ELEMENT                                ~3      ~4
          5        SEND_VAL_EX                                              ~3
          6        SEND_VAL_EX                                              1
          7        DO_FCALL                                      0          
          8        ASSIGN                                                   !0, $1
    3     9        INIT_FCALL                                               'var_dump'
         10        SEND_VAR                                                 !0
         11        DO_ICALL                                                 
         12      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.42 ms | 1394 KiB | 15 Q