3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 = self::DEBUG | self::INFO; }
Output for 5.6.7 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Output for 5.3.0 - 5.5.35
Parse error: syntax error, unexpected '|', expecting ',' or ';' in /in/jdVLa on line 11
Process exited with code 255.