Deprecated: Return type of MyXML::hasChildren() should either be compatible with SimpleXMLElement::hasChildren(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/gb6NY on line 20
object(MyXML)#4 (3) {
["@attributes"]=>
array(1) {
["ver"]=>
string(3) "2.0"
}
[0]=>
string(9) "test data"
[1]=>
string(11) "test data 2"
}
bool(false)
Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /in/gb6NY 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/gb6NY 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/gb6NY on line 4
Process exited with code 255.