Fatal error: Uncaught ArgumentCountError: Too few arguments to function test::test(), 0 passed in /in/GvvMX on line 10 and exactly 1 expected in /in/GvvMX:3
Stack trace:
#0 /in/GvvMX(10): test->test()
#1 {main}
thrown in /in/GvvMX on line 3
Process exited with code 255.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; test has a deprecated constructor in /in/GvvMX on line 2
Fatal error: Uncaught ArgumentCountError: Too few arguments to function test::test(), 0 passed in /in/GvvMX on line 8 and exactly 1 expected in /in/GvvMX:3
Stack trace:
#0 /in/GvvMX(8): test->test()
#1 {main}
thrown in /in/GvvMX on line 3
Process exited with code 255.
Output for 7.3.32 - 7.3.33, 7.4.26
Fatal error: Uncaught ArgumentCountError: Too few arguments to function test::test(), 0 passed in /in/GvvMX on line 8 and exactly 1 expected in /in/GvvMX:3
Stack trace:
#0 /in/GvvMX(8): test->test()
#1 {main}
thrown in /in/GvvMX on line 3
Process exited with code 255.
Output for 7.0.0 - 7.0.33
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; test has a deprecated constructor in /in/GvvMX on line 2
Warning: Missing argument 1 for test::test(), called in /in/GvvMX on line 8 and defined in /in/GvvMX on line 3
Warning: Missing argument 1 for test::test(), called in /in/GvvMX on line 10 and defined in /in/GvvMX on line 3
OK
Warning: Missing argument 1 for test::test(), called in /in/GvvMX on line 8 and defined in /in/GvvMX on line 3
Warning: Missing argument 1 for test::test(), called in /in/GvvMX on line 10 and defined in /in/GvvMX on line 3
OK
Output for 5.0.0 - 5.0.5
Warning: Missing argument 1 for test::test() in /in/GvvMX on line 3
Warning: Missing argument 1 for test::test() in /in/GvvMX on line 3
OK
Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9
Warning: Missing argument 1 for test() in /in/GvvMX on line 3
Warning: Missing argument 1 for test() in /in/GvvMX on line 3
OK