Fatal error: Uncaught TypeError: Exception::__construct(): Argument #2 ($code) must be of type int, array given in /in/cgDKE:23
Stack trace:
#0 /in/cgDKE(23): Exception->__construct('test', Array)
#1 {main}
thrown in /in/cgDKE on line 23
Process exited with code 255.
Fatal error: Uncaught Error: Wrong parameters for FunkyException([string $message [, long $code [, Throwable $previous = NULL]]]) in /in/cgDKE:23
Stack trace:
#0 /in/cgDKE(23): Exception->__construct('test', Array)
#1 {main}
thrown in /in/cgDKE on line 23
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Fatal error: Wrong parameters for Exception([string $exception [, long $code [, Exception $previous = NULL]]]) in /in/cgDKE on line 23
Process exited with code 255.