Fatal error: Uncaught ArgumentCountError: Too few arguments to function bar::foo(), 0 passed in /in/9WFJL on line 16 and at least 1 expected in /in/9WFJL:12
Stack trace:
#0 /in/9WFJL(16): bar->foo()
#1 {main}
thrown in /in/9WFJL on line 12
Process exited with code 255.
Output for 8.3.5
Warning: PHP Startup: Unable to load dynamic library 'sodium.so' (tried: /usr/lib/php/8.3.5/modules/sodium.so (libsodium.so.23: cannot open shared object file: No such file or directory), /usr/lib/php/8.3.5/modules/sodium.so.so (/usr/lib/php/8.3.5/modules/sodium.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Fatal error: Uncaught ArgumentCountError: Too few arguments to function bar::foo(), 0 passed in /in/9WFJL on line 16 and at least 1 expected in /in/9WFJL:12
Stack trace:
#0 /in/9WFJL(16): bar->foo()
#1 {main}
thrown in /in/9WFJL on line 12
Process exited with code 255.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; foo has a deprecated constructor in /in/9WFJL on line 3
Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo::foo(), 0 passed in /in/9WFJL on line 16 and exactly 1 expected in /in/9WFJL:5
Stack trace:
#0 /in/9WFJL(16): foo->foo()
#1 {main}
thrown in /in/9WFJL on line 5
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Fatal error: Uncaught ArgumentCountError: Too few arguments to function foo::foo(), 0 passed in /in/9WFJL on line 16 and exactly 1 expected in /in/9WFJL:5
Stack trace:
#0 /in/9WFJL(16): foo->foo()
#1 {main}
thrown in /in/9WFJL on line 5
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; foo has a deprecated constructor in /in/9WFJL on line 3
Warning: Missing argument 1 for foo::foo(), called in /in/9WFJL on line 16 and defined in /in/9WFJL on line 5
Warning: Missing argument 1 for bar::foo(), called in /in/9WFJL on line 16 and defined in /in/9WFJL on line 12
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Warning: Missing argument 1 for foo::foo(), called in /in/9WFJL on line 16 and defined in /in/9WFJL on line 5
Warning: Missing argument 1 for bar::foo(), called in /in/9WFJL on line 16 and defined in /in/9WFJL on line 12