Deprecated: Calling static trait method A::x is deprecated, it should only be called on a class using the trait in /in/s1uB2 on line 5
Fatal error: Uncaught Error: Non-static method A::x() cannot be called statically in /in/s1uB2:5
Stack trace:
#0 /in/s1uB2(5): C->x()
#1 {main}
thrown in /in/s1uB2 on line 5
Process exited with code 255.
Output for 8.0.0 - 8.0.30
Fatal error: Uncaught Error: Non-static method A::x() cannot be called statically in /in/s1uB2:5
Stack trace:
#0 /in/s1uB2(5): C->x()
#1 {main}
thrown in /in/s1uB2 on line 5
Process exited with code 255.
Deprecated: Non-static method A::x() should not be called statically in /in/s1uB2 on line 5
A
Deprecated: Non-static method B::x() should not be called statically in /in/s1uB2 on line 5
BC
Output for 7.3.32 - 7.3.33
ABC
Output for 5.6.8 - 5.6.28
Deprecated: Non-static method A::x() should not be called statically, assuming $this from incompatible context in /in/s1uB2 on line 5
A
Deprecated: Non-static method B::x() should not be called statically, assuming $this from incompatible context in /in/s1uB2 on line 5
BC
Output for 5.4.0 - 5.4.45, 5.5.24 - 5.5.35
Strict Standards: Non-static method A::x() should not be called statically, assuming $this from incompatible context in /in/s1uB2 on line 5
A
Strict Standards: Non-static method B::x() should not be called statically, assuming $this from incompatible context in /in/s1uB2 on line 5
BC