Fatal error: Uncaught Error: Call to private B::__construct() from scope A in /in/girmg:5
Stack trace:
#0 /in/girmg(13): A::foo()
#1 {main}
thrown in /in/girmg on line 5
Process exited with code 255.
Fatal error: Uncaught Error: Call to private B::__construct() from context 'A' in /in/girmg:5
Stack trace:
#0 /in/girmg(13): A::foo()
#1 {main}
thrown in /in/girmg on line 5
Process exited with code 255.