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.8 - 7.1.0
Output for 5.4.0 - 5.5.35
Parse error: syntax error, unexpected '||' (T_BOOLEAN_OR), expecting ',' or ';' in /in/Us8Fi on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.29
Parse error: syntax error, unexpected T_BOOLEAN_OR, expecting ',' or ';' in /in/Us8Fi on line 11
Process exited with code 255.