string(24) "$this->hello->sayHello()"
Hello
Warning: Undefined property: MyHelloWorld2::$word in /in/ggqAu on line 54
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object in /in/ggqAu:54
Stack trace:
#0 /in/ggqAu(65): MyHelloWorld2->__call('sayWorld', Array)
#1 {main}
thrown in /in/ggqAu on line 54
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
string(24) "$this->hello->sayHello()"
Hello
Warning: Undefined property: MyHelloWorld2::$word in /in/ggqAu on line 54
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, first array member is not a valid class name or object in /in/ggqAu:54
Stack trace:
#0 /in/ggqAu(65): MyHelloWorld2->__call('sayWorld', Array)
#1 {main}
thrown in /in/ggqAu on line 54
Process exited with code 255.
Output for 8.0.0 - 8.0.9
string(24) "$this->hello->sayHello()"
Hello
Warning: Undefined property: MyHelloWorld2::$word in /in/ggqAu on line 54
Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($function) must be a valid callback, first array member is not a valid class name or object in /in/ggqAu:54
Stack trace:
#0 /in/ggqAu(65): MyHelloWorld2->__call('sayWorld', Array)
#1 {main}
thrown in /in/ggqAu on line 54
Process exited with code 255.
string(24) "$this->hello->sayHello()"
Hello
Notice: Undefined property: MyHelloWorld2::$word in /in/ggqAu on line 54
Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in /in/ggqAu on line 54
!
Output for 7.3.32 - 7.3.33
string(24) "$this->hello->sayHello()"
Hello
Warning: call_user_func() expects parameter 1 to be a valid callback, first array member is not a valid class name or object in /in/ggqAu on line 54
!