3v4l.org

run code in 300+ PHP versions simultaneously
<?php const DISABLED = 0; const DEBUG = 1; const INFO = 2; const WARNING = 4; const ERROR = 8; const ALL = 15; 1 & DEBUG
Output for 5.4.0 - 5.4.12
Parse error: syntax error, unexpected end of file in /in/gJfpl on line 10
Process exited with code 255.
Output for 5.3.0 - 5.3.22
Parse error: syntax error, unexpected $end in /in/gJfpl on line 10
Process exited with code 255.

preferences:
175.12 ms | 1395 KiB | 43 Q