3v4l.org

run code in 300+ PHP versions simultaneously
<?php $o1 = new StdClass(); debug_zval_dump($o1); $o2 = $o1; debug_zval_dump($o1); debug_zval_dump($o1, $o2); $o2 = &$o1; debug_zval_dump($o1, $o2);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/UuRse
function name:  (null)
number of ops:  20
compiled vars:  !0 = $o1, !1 = $o2
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   NEW                                              $2      'StdClass'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
    4     3        INIT_FCALL                                               'debug_zval_dump'
          4        SEND_VAR                                                 !0
          5        DO_ICALL                                                 
    5     6        ASSIGN                                                   !1, !0
    6     7        INIT_FCALL                                               'debug_zval_dump'
          8        SEND_VAR                                                 !0
          9        DO_ICALL                                                 
    7    10        INIT_FCALL                                               'debug_zval_dump'
         11        SEND_VAR                                                 !0
         12        SEND_VAR                                                 !1
         13        DO_ICALL                                                 
    8    14        ASSIGN_REF                                               !1, !0
    9    15        INIT_FCALL                                               'debug_zval_dump'
         16        SEND_VAR                                                 !0
         17        SEND_VAR                                                 !1
         18        DO_ICALL                                                 
         19      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
138.93 ms | 1444 KiB | 14 Q