Static calls:
Fatal error: Uncaught Error: Non-static method A::get_self() cannot be called statically in /in/1PecT:59
Stack trace:
#0 {main}
thrown in /in/1PecT on line 59
Process exited with code 255.
Static calls:
Deprecated: Non-static method A::get_self() should not be called statically in /in/1PecT on line 59
B::get_self() ============= A | expected A
Deprecated: Non-static method A::get_static() should not be called statically in /in/1PecT on line 60
B::get_static() =========== B | expected B
Deprecated: Non-static method A::get_static() should not be called statically in /in/1PecT on line 61
A::get_static() =========== A | expected A
Object Calls on A:
$a->get_self() ============ A | expected A
$a->get_static() ========== A | expected A
Object Calls on B:
$b->get_self() ============ A | expected A
$b->get_static() ========== B | expected B
C Object Calls on A:
Internally against A::{call}
Deprecated: Non-static method A::get_self() should not be called statically in /in/1PecT on line 17
$c->static_get_a_self() === A | expected A
Deprecated: Non-static method A::get_static() should not be called statically in /in/1PecT on line 21
$c->static_get_a_static() = A | expected A < Whoa!
Internally against $a = new A();
$c->var_get_a_self() ====== A | expected A
$c->var_get_a_static() ==== A | expected A
C Object Calls on B:
Internally against B::{call}
Deprecated: Non-static method A::get_self() should not be called statically in /in/1PecT on line 36
$c->static_get_b_self() === A | expected A
Deprecated: Non-static method A::get_static() should not be called statically in /in/1PecT on line 40
$c->static_get_b_static() = B | expected B < Whoa!
Internally against $b = new B();
$c->var_get_b_self() ====== A | expected A
$c->var_get_b_static() ==== B | expected B
Output for 7.3.32 - 7.3.33, 7.4.26
Static calls:
B::get_self() ============= A | expected A
B::get_static() =========== B | expected B
A::get_static() =========== A | expected A
Object Calls on A:
$a->get_self() ============ A | expected A
$a->get_static() ========== A | expected A
Object Calls on B:
$b->get_self() ============ A | expected A
$b->get_static() ========== B | expected B
C Object Calls on A:
Internally against A::{call}
$c->static_get_a_self() === A | expected A
$c->static_get_a_static() = A | expected A < Whoa!
Internally against $a = new A();
$c->var_get_a_self() ====== A | expected A
$c->var_get_a_static() ==== A | expected A
C Object Calls on B:
Internally against B::{call}
$c->static_get_b_self() === A | expected A
$c->static_get_b_static() = B | expected B < Whoa!
Internally against $b = new B();
$c->var_get_b_self() ====== A | expected A
$c->var_get_b_static() ==== B | expected B
Output for 5.6.0 - 5.6.40
Static calls:
Strict Standards: Non-static method A::get_self() should not be called statically in /in/1PecT on line 59
B::get_self() ============= A | expected A
Strict Standards: Non-static method A::get_static() should not be called statically in /in/1PecT on line 60
B::get_static() =========== B | expected B
Strict Standards: Non-static method A::get_static() should not be called statically in /in/1PecT on line 61
A::get_static() =========== A | expected A
Object Calls on A:
$a->get_self() ============ A | expected A
$a->get_static() ========== A | expected A
Object Calls on B:
$b->get_self() ============ A | expected A
$b->get_static() ========== B | expected B
C Object Calls on A:
Internally against A::{call}
Deprecated: Non-static method A::get_self() should not be called statically, assuming $this from incompatible context in /in/1PecT on line 17
$c->static_get_a_self() === A | expected A
Deprecated: Non-static method A::get_static() should not be called statically, assuming $this from incompatible context in /in/1PecT on line 21
$c->static_get_a_static() = C | expected A < Whoa!
Internally against $a = new A();
$c->var_get_a_self() ====== A | expected A
$c->var_get_a_static() ==== A | expected A
C Object Calls on B:
Internally against B::{call}
Deprecated: Non-static method A::get_self() should not be called statically, assuming $this from incompatible context in /in/1PecT on line 36
$c->static_get_b_self() === A | expected A
Deprecated: Non-static method A::get_static() should not be called statically, assuming $this from incompatible context in /in/1PecT on line 40
$c->static_get_b_static() = C | expected B < Whoa!
Internally against $b = new B();
$c->var_get_b_self() ====== A | expected A
$c->var_get_b_static() ==== B | expected B
Static calls:
Strict Standards: Non-static method A::get_self() should not be called statically in /in/1PecT on line 59
B::get_self() ============= A | expected A
Strict Standards: Non-static method A::get_static() should not be called statically in /in/1PecT on line 60
B::get_static() =========== B | expected B
Strict Standards: Non-static method A::get_static() should not be called statically in /in/1PecT on line 61
A::get_static() =========== A | expected A
Object Calls on A:
$a->get_self() ============ A | expected A
$a->get_static() ========== A | expected A
Object Calls on B:
$b->get_self() ============ A | expected A
$b->get_static() ========== B | expected B
C Object Calls on A:
Internally against A::{call}
Strict Standards: Non-static method A::get_self() should not be called statically, assuming $this from incompatible context in /in/1PecT on line 17
$c->static_get_a_self() === A | expected A
Strict Standards: Non-static method A::get_static() should not be called statically, assuming $this from incompatible context in /in/1PecT on line 21
$c->static_get_a_static() = C | expected A < Whoa!
Internally against $a = new A();
$c->var_get_a_self() ====== A | expected A
$c->var_get_a_static() ==== A | expected A
C Object Calls on B:
Internally against B::{call}
Strict Standards: Non-static method A::get_self() should not be called statically, assuming $this from incompatible context in /in/1PecT on line 36
$c->static_get_b_self() === A | expected A
Strict Standards: Non-static method A::get_static() should not be called statically, assuming $this from incompatible context in /in/1PecT on line 40
$c->static_get_b_static() = C | expected B < Whoa!
Internally against $b = new B();
$c->var_get_b_self() ====== A | expected A
$c->var_get_b_static() ==== B | expected B
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Parse error: syntax error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in /in/1PecT on line 9
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_STATIC, expecting T_STRING or T_VARIABLE or '$' in /in/1PecT on line 9
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/1PecT on line 4
Process exited with code 255.
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/1PecT on line 4
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `T_OLD_FUNCTION' or `T_FUNCTION' or `T_VAR' or `'}'' in /in/1PecT on line 4
Process exited with code 255.