3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public $foo = "hallo"; } $a = 1; $b = $a; $c = $b; $d = clone $c;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/lIBnT
function name:  (null)
number of ops:  6
compiled vars:  !0 = $a, !1 = $b, !2 = $c, !3 = $d
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    7     0  E >   ASSIGN                                                   !0, 1
    8     1        ASSIGN                                                   !1, !0
    9     2        ASSIGN                                                   !2, !1
   11     3        CLONE                                            ~7      !2
          4        ASSIGN                                                   !3, ~7
          5      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
155.17 ms | 1392 KiB | 13 Q