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.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/RWRE9 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/RWRE9 on line 9
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/RWRE9 on line 4
Process exited with code 255.
Parse error: parse error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/RWRE9 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/RWRE9 on line 4
Process exited with code 255.