3v4l.org

run code in 500+ PHP versions simultaneously
<?php enum LogLevel: string { case EMERGENCY = 'emergency'; case ALERT = 'alert'; case CRITICAL = 'critical'; case ERROR = 'error'; case WARNING = 'warning'; case NOTICE = 'notice'; case INFO = 'info'; case DEBUG = 'debug'; } echo LogLevel::DEBUG;
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/TMoYI
function name:  (null)
number of ops:  4
compiled vars:  none
line      #* E I O op                               fetch          ext  return  operands
-----------------------------------------------------------------------------------------
    3     0  E >   DECLARE_CLASS                                                'loglevel'
   15     1        FETCH_CLASS_CONSTANT                                 ~0      'LogLevel', 'DEBUG'
          2        ECHO                                                         ~0
   16     3      > RETURN                                                       1

Class LogLevel: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.5.0


preferences:
161.24 ms | 1456 KiB | 13 Q