Fatal error: Uncaught ArgumentCountError: Too few arguments to function B::__construct(), 0 passed in /in/8QUGK on line 31 and exactly 2 expected in /in/8QUGK:22
Stack trace:
#0 /in/8QUGK(31): B->__construct()
#1 {main}
thrown in /in/8QUGK on line 22
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 B::__construct(), 0 passed in /in/8QUGK on line 31 and exactly 2 expected in /in/8QUGK:22
Stack trace:
#0 /in/8QUGK(31): B->__construct()
#1 {main}
thrown in /in/8QUGK on line 22
Process exited with code 255.
Output for 7.0.0 - 7.0.31
Warning: Missing argument 1 for B::__construct(), called in /in/8QUGK on line 31 and defined in /in/8QUGK on line 22
Warning: Missing argument 2 for B::__construct(), called in /in/8QUGK on line 31 and defined in /in/8QUGK on line 22
object(B)#1 (4) {
["b":protected]=>
string(3) "B_b"
["c":"B":private]=>
string(3) "B_c"
["a"]=>
string(3) "A_a"
["c":"A":private]=>
string(3) "A_c"
}
array(4) {
[" * b"]=>
string(3) "B_b"
[" B c"]=>
string(3) "B_c"
["a"]=>
string(3) "A_a"
[" A c"]=>
string(3) "A_c"
}