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
object(Foo)#1 (0) {
}
Output for 7.0.0 - 7.0.32, 7.1.0 - 7.1.33
Fatal error: Uncaught TypeError: Argument 1 passed to test() must be an instance of Object, instance of Foo given, called in /in/svcIG on line 11 and defined in /in/svcIG:3
Stack trace:
#0 /in/svcIG(11): test(Object(Foo))
#1 {main}
thrown in /in/svcIG on line 3
Process exited with code 255.
Catchable fatal error: Argument 1 passed to test() must be an instance of Object, instance of Foo given, called in /in/svcIG on line 11 and defined in /in/svcIG on line 3
Process exited with code 255.