3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo{ const INFO = 100; } class Bar{ public static $INFO = \Foo::INFO; } echo Bar::$INFO;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/JkXkZ
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   11     0  E >   FETCH_STATIC_PROP_R          unknown             ~0      'INFO'
          1        ECHO                                                     ~0
          2      > RETURN                                                   1

Class Foo: [no user functions]
Class Bar: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
164.84 ms | 1392 KiB | 13 Q