3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Filesystem { const DISABLED = 0; const DEBUG = 1; const INFO = 2; const WARN = 4; const ERROR = 8; private static $ERROR_LEVELS = array(self::DISABLED, self::DEBUG, self::INFO, self::WARN, self::ERROR); public static $DEFAULT_LEVEL = 6; } echo Filesystem::$DEFAULT_LEVEL && Filesystem::INFO;
Finding entry points
Branch analysis from position: 0
2 jumps found. (Code = 46) Position 1 = 2, Position 2 = 3
Branch analysis from position: 2
1 jumps found. (Code = 62) Position 1 = -2
Branch analysis from position: 3
filename:       /in/LnHhF
function name:  (null)
number of ops:  5
compiled vars:  none
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
   14     0  E >   FETCH_STATIC_PROP_R          unknown             ~0      'DEFAULT_LEVEL'
          1      > JMPZ_EX                                          ~0      ~0, ->3
          2    >   BOOL                                             ~0      2
          3    >   ECHO                                                     ~0
          4      > RETURN                                                   1

Class Filesystem: [no user functions]

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
151.91 ms | 1392 KiB | 13 Q