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); }
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected 'ERROR_LEVELS' (T_STRING), expecting variable (T_VARIABLE) in /in/AlPea on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE in /in/AlPea on line 10
Process exited with code 255.