Fatal error: Uncaught Error: Non-static method Bar::bar() cannot be called statically in /in/0Nmmm:23
Stack trace:
#0 {main}
thrown in /in/0Nmmm on line 23
Process exited with code 255.
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; Bar has a deprecated constructor in /in/0Nmmm on line 13
Fatal error: Uncaught Error: Non-static method Bar::bar() cannot be called statically in /in/0Nmmm:23
Stack trace:
#0 {main}
thrown in /in/0Nmmm on line 23
Process exited with code 255.