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); }
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.

preferences:
166.96 ms | 1395 KiB | 43 Q