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