3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo c::a; class c { const a = 1; }
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/guLO1
function name:  (null)
number of ops:  3
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   FETCH_CLASS_CONSTANT                             ~0      'c', 'a'
          1        ECHO                                                     ~0
    7     2      > RETURN                                                   1

Class c: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
152.31 ms | 1396 KiB | 13 Q