Fatal error: Uncaught DivisionByZeroError: Division by zero in /in/fbhGq:12
Stack trace:
#0 /in/fbhGq(21): Test\Test->__construct('Hello, world!', 2016)
#1 {main}
thrown in /in/fbhGq on line 12
Process exited with code 255.
Warning: Division by zero in /in/fbhGq on line 12
Fatal error: Uncaught TypeError: Argument 1 passed to Test\Test::__construct() must be of the type string, object given, called in /in/fbhGq on line 21 and defined in /in/fbhGq:10
Stack trace:
#0 /in/fbhGq(21): Test\Test->__construct(Object(Test\Test), '2015')
#1 {main}
thrown in /in/fbhGq on line 10
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Catchable fatal error: Argument 1 passed to Test\Test::__construct() must be an instance of Test\string, string given, called in /in/fbhGq on line 21 and defined in /in/fbhGq on line 10
Process exited with code 255.