3v4l.org

run code in 300+ PHP versions simultaneously
<?php class C { public int $v = 123; } $x = new C; unset($x->v); $y = new C; $y->v = null;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/nNDq4
function name:  (null)
number of ops:  10
compiled vars:  !0 = $x, !1 = $y
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    4     0  E >   NEW                                              $2      'C'
          1        DO_FCALL                                      0          
          2        ASSIGN                                                   !0, $2
          3        UNSET_OBJ                                                !0, 'v'
    5     4        NEW                                              $5      'C'
          5        DO_FCALL                                      0          
          6        ASSIGN                                                   !1, $5
          7        ASSIGN_OBJ                                               !1, 'v'
          8        OP_DATA                                                  null
    6     9      > RETURN                                                   1

Class C: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
140.78 ms | 1440 KiB | 13 Q