Fatal error: Declaration of Ball::init(?Dad $dependency = null) must be compatible with Base::init(?Granny $dependency = null) in /in/mc8WB on line 56
Process exited with code 255.
Output for 7.4.0 - 7.4.33
Warning: Declaration of Ball::init(?Dad $dependency = NULL) should be compatible with Base::init(?Granny $dependency = NULL) in /in/mc8WB on line 56
Warning: Invalid argument supplied for foreach() in /in/mc8WB on line 17
object(Ball)#1 (1) {
["foo":protected]=>
object(Dad)#2 (3) {
["likesMom":"Dad":private]=>
NULL
["name":protected]=>
NULL
["age":protected]=>
NULL
}
}
Warning: Declaration of Ball::init(?Dad $dependency = NULL) should be compatible with Base::init(?Granny $dependency = NULL) in /in/mc8WB on line 61
Warning: Invalid argument supplied for foreach() in /in/mc8WB on line 17
object(Ball)#1 (1) {
["foo":protected]=>
object(Dad)#2 (3) {
["likesMom":"Dad":private]=>
NULL
["name":protected]=>
NULL
["age":protected]=>
NULL
}
}
Output for 7.0.0 - 7.0.31
Warning: Declaration of Ball::init(Dad $dependency = NULL) should be compatible with Base::init(Granny $dependency = NULL) in /in/mc8WB on line 61
Warning: Invalid argument supplied for foreach() in /in/mc8WB on line 17
object(Ball)#1 (1) {
["foo":protected]=>
object(Dad)#2 (3) {
["likesMom":"Dad":private]=>
NULL
["name":protected]=>
NULL
["age":protected]=>
NULL
}
}
Strict Standards: Declaration of Ball::init() should be compatible with Base::init(Granny $dependency = NULL) in /in/mc8WB on line 61
Warning: Invalid argument supplied for foreach() in /in/mc8WB on line 17
object(Ball)#1 (1) {
["foo":protected]=>
object(Dad)#2 (3) {
["likesMom":"Dad":private]=>
NULL
["name":protected]=>
NULL
["age":protected]=>
NULL
}
}
Output for 5.3.0 - 5.3.29
Strict Standards: Declaration of Ball::init() should be compatible with that of Base::init() in /in/mc8WB on line 61
Warning: Invalid argument supplied for foreach() in /in/mc8WB on line 17
object(Ball)#1 (1) {
["foo":protected]=>
object(Dad)#2 (3) {
["likesMom":"Dad":private]=>
NULL
["name":protected]=>
NULL
["age":protected]=>
NULL
}
}
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Strict Standards: Declaration of Ball::init() should be compatible with that of Base::init() in /in/mc8WB on line 61
Warning: Invalid argument supplied for foreach() in /in/mc8WB on line 17
object(Ball)#1 (1) {
["foo:protected"]=>
object(Dad)#2 (3) {
["likesMom:private"]=>
NULL
["name:protected"]=>
NULL
["age:protected"]=>
NULL
}
}
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected T_ARRAY, expecting '&' or T_VARIABLE in /in/mc8WB on line 15
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/mc8WB 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/mc8WB 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/mc8WB on line 4
Process exited with code 255.