object(foo)#1 (1) {
["arr"]=>
array(1) {
[0]=>
string(4) "test"
}
}
Test testvalue
Fatal error: Uncaught Error: Access to undeclared static property moo::$x in /in/ZadYX:33
Stack trace:
#0 {main}
thrown in /in/ZadYX on line 33
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
object(foo)#1 (1) {
["arr"]=>
array(1) {
[0]=>
string(4) "test"
}
}
Test testvalue
Fatal error: Uncaught Error: Access to undeclared static property moo::$x in /in/ZadYX:33
Stack trace:
#0 {main}
thrown in /in/ZadYX on line 33
Process exited with code 255.
object(foo)#1 (1) {
["arr"]=>
array(1) {
[0]=>
string(4) "test"
}
}
Test testvalue
Fatal error: Uncaught Error: Access to undeclared static property: moo::$x in /in/ZadYX:33
Stack trace:
#0 {main}
thrown in /in/ZadYX on line 33
Process exited with code 255.