3v4l.org

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

Class MyC: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
176.66 ms | 1392 KiB | 13 Q