Fatal error: Uncaught TypeError: A::__construct(): Argument #1 ($foo) must be of type int, float given, called in /in/XIYKh on line 16 and defined in /in/XIYKh:5
Stack trace:
#0 /in/XIYKh(16): A->__construct(0.0)
#1 {main}
thrown in /in/XIYKh on line 5
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught TypeError: A::__construct(): Argument #1 ($foo) must be of type int, float given, called in /in/XIYKh on line 16 and defined in /in/XIYKh:5
Stack trace:
#0 /in/XIYKh(16): A->__construct(0)
#1 {main}
thrown in /in/XIYKh on line 5
Process exited with code 255.
Output for 7.3.16 - 7.3.33, 7.4.0 - 7.4.33
Fatal error: Uncaught TypeError: Argument 1 passed to A::__construct() must be of the type int, float given, called in /in/XIYKh on line 16 and defined in /in/XIYKh:5
Stack trace:
#0 /in/XIYKh(16): A->__construct(0)
#1 {main}
thrown in /in/XIYKh on line 5
Process exited with code 255.
Fatal error: Uncaught TypeError: Argument 1 passed to A::__construct() must be of the type integer, float given, called in /in/XIYKh on line 16 and defined in /in/XIYKh:5
Stack trace:
#0 /in/XIYKh(16): A->__construct(0)
#1 {main}
thrown in /in/XIYKh on line 5
Process exited with code 255.
Warning: Unsupported declare 'strict_types' in /in/XIYKh on line 1
Parse error: syntax error, unexpected ':', expecting ';' or '{' in /in/XIYKh on line 8
Process exited with code 255.