3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o1 = new stdClass(); new stdClass($a = $o1);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/iRGRA
function name:  (null)
number of ops:  9
compiled vars:  !0 = $o1, !1 = $a
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    2     0  E >   NEW                                              $2      'stdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    3     3        NEW                                              $5      'stdClass'
          4        ASSIGN                                           ~6      !1, !0
          5        SEND_VAL_EX                                              ~6
          6        DO_FCALL                                      0          
          7        FREE                                                     $5
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
153.02 ms | 1384 KiB | 13 Q