Deprecated: Calling static trait method T1::a1 is deprecated, it should only be called on a class using the trait in /in/PQK4g on line 11
Fatal error: Uncaught Error: Non-static method T1::a1() cannot be called statically in /in/PQK4g:11
Stack trace:
#0 /in/PQK4g(20): A->a2()
#1 {main}
thrown in /in/PQK4g on line 11
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught Error: Non-static method T1::a1() cannot be called statically in /in/PQK4g:11
Stack trace:
#0 /in/PQK4g(20): A->a2()
#1 {main}
thrown in /in/PQK4g on line 11
Process exited with code 255.
Deprecated: Non-static method T1::a1() should not be called statically in /in/PQK4g on line 11
Fatal error: Uncaught Error: Using $this when not in object context in /in/PQK4g:5
Stack trace:
#0 /in/PQK4g(11): T1::a1()
#1 /in/PQK4g(20): A->a2()
#2 {main}
thrown in /in/PQK4g on line 5
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Fatal error: Uncaught Error: Using $this when not in object context in /in/PQK4g:5
Stack trace:
#0 /in/PQK4g(11): T1::a1()
#1 /in/PQK4g(20): A->a2()
#2 {main}
thrown in /in/PQK4g on line 5
Process exited with code 255.
Output for 5.6.0 - 5.6.30
Deprecated: Non-static method T1::a1() should not be called statically, assuming $this from incompatible context in /in/PQK4g on line 11
Fatal error: Cannot access protected property A::$var in /in/PQK4g on line 5
Process exited with code 255.
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38
Strict Standards: Non-static method T1::a1() should not be called statically, assuming $this from incompatible context in /in/PQK4g on line 11
Fatal error: Cannot access protected property A::$var in /in/PQK4g on line 5
Process exited with code 255.