Deprecated: Return type of XmlArrayAccessIterator::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/WYgKV on line 31
Deprecated: Return type of XmlArrayAccessIterator::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/WYgKV on line 36
Deprecated: Return type of XmlArrayAccessIterator::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/WYgKV on line 51
Deprecated: Return type of XmlArrayAccessIterator::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/WYgKV on line 56
Deprecated: Return type of XmlArrayAccessIterator::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /in/WYgKV on line 61
string(13) "<to>Tove</to>"
Fatal error: Uncaught RuntimeException: unknown node or attribute "to" in /in/WYgKV:45
Stack trace:
#0 /in/WYgKV(91): XmlArrayAccessIterator->offsetGet('to')
#1 {main}
thrown in /in/WYgKV on line 45
Process exited with code 255.
string(13) "<to>Tove</to>"
Fatal error: Uncaught RuntimeException: unknown node or attribute "to" in /in/WYgKV:45
Stack trace:
#0 /in/WYgKV(91): XmlArrayAccessIterator->offsetGet('to')
#1 {main}
thrown in /in/WYgKV on line 45
Process exited with code 255.
string(13) "<to>Tove</to>"
Fatal error: Uncaught exception 'RuntimeException' with message 'unknown node or attribute "to"' in /in/WYgKV:45
Stack trace:
#0 /in/WYgKV(91): XmlArrayAccessIterator->offsetGet('to')
#1 {main}
thrown in /in/WYgKV on line 45
Process exited with code 255.
Output for 5.1.3 - 5.1.6, 5.2.0 - 5.2.2
string(13) "<to>Tove</to>"
<br />
<b>Fatal error</b>: Uncaught exception 'RuntimeException' with message 'unknown node or attribute "to"' in /in/WYgKV:45
Stack trace:
#0 /in/WYgKV(91): XmlArrayAccessIterator->offsetGet('to')
#1 {main}
thrown in <b>/in/WYgKV</b> on line <b>45</b><br />
Process exited with code 255.
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.2
<br />
<b>Fatal error</b>: Call to undefined method SimpleXMLIterator::getName() in <b>/in/WYgKV</b> on line <b>38</b><br />
Process exited with code 255.
Output for 4.4.2 - 4.4.9
<br />
<b>Parse error</b>: syntax error, unexpected T_STRING, expecting '{' in <b>/in/WYgKV</b> on line <b>3</b><br />
Process exited with code 255.