3v4l.org

run code in 300+ PHP versions simultaneously
<?php class foo { const bar = 'hello world!'; const baz = self::bar; } echo foo::baz;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/vGqD7
function name:  (null)
number of ops:  2
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    9     0  E >   ECHO                                                     'hello+world%21'
          1      > RETURN                                                   1

Class foo: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
148.84 ms | 1005 KiB | 13 Q