3v4l.org

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

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.41 ms | 1392 KiB | 13 Q