3v4l.org

run code in 300+ PHP versions simultaneously
<?php class DotPhalconMissingException extends CommandsException { static const DEFAULT_MESSAGE = ".phalcon file not found: This command should be invoked inside a Phalcon project directory."; public __construct (string $message = DEFAULT_MESSAGE , int $code = 0 , Throwable $previous = NULL) { $this->message = $message; $this->code = $code; $htis->previous = $previous; } }
Output for 7.1.0 - 7.1.7
Parse error: syntax error, unexpected '__construct' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST) in /in/oDLMS on line 7
Process exited with code 255.
Output for 7.0.0 - 7.0.20
Parse error: syntax error, unexpected 'const' (T_CONST), expecting variable (T_VARIABLE) in /in/oDLMS on line 5
Process exited with code 255.

preferences:
173.04 ms | 1395 KiB | 36 Q