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; const ERROR_LEVELS = array(self::DISABLED, self::DEBUG, self::INFO, self::WARN, self::ERROR); }
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected 'const' (T_CONST), expecting ',' or ';' in /in/04YMU on line 7
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_CONST, expecting ',' or ';' in /in/04YMU on line 7
Process exited with code 255.