3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { public static int $number = 5; } $num = &A::$number; $num = "String";
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/XC6hk
function name:  (null)
number of ops:  4
compiled vars:  !0 = $num
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    8     0  E >   FETCH_STATIC_PROP_W          unknown             $1      'number'
          1        ASSIGN_REF                                               !0, $1
    9     2        ASSIGN                                                   !0, 'String'
          3      > RETURN                                                   1

Class A: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
184.15 ms | 1396 KiB | 13 Q