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/siQ7F on line 13
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/siQ7F on line 18
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/siQ7F on line 43
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/siQ7F on line 48
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/siQ7F on line 53
Deprecated: Creation of dynamic property XmlArrayAccessIterator::$isUrl is deprecated in /in/siQ7F on line 9
array(1) {
["val"]=>
array(2) {
[0]=>
string(1) "2"
[1]=>
string(1) "4"
}
}
2
Output for 8.1.0 - 8.1.28
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/siQ7F on line 13
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/siQ7F on line 18
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/siQ7F on line 43
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/siQ7F on line 48
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/siQ7F on line 53
array(1) {
["val"]=>
array(2) {
[0]=>
string(1) "2"
[1]=>
string(1) "4"
}
}
2
<br />
<b>Fatal error</b>: Call to undefined method SimpleXMLIterator::getName() in <b>/in/siQ7F</b> on line <b>20</b><br />
Process exited with code 255.
Output for 5.0.5, 5.1.0 - 5.1.1
<br />
<b>Fatal error</b>: Uncaught exception 'Exception' with message 'SimpleXMLElement::__construct() expects exactly 1 parameter, 3 given' in /in/siQ7F:10
Stack trace:
#0 /in/siQ7F(10): SimpleXMLElement->__construct('<?xml version="...', 0, false)
#1 /in/siQ7F(76): XmlArrayAccessIterator->__construct('<?xml version="...', false)
#2 {main}
thrown in <b>/in/siQ7F</b> on line <b>10</b><br />
Process exited with code 255.
Output for 5.0.3 - 5.0.4
<br />
<b>Fatal error</b>: Uncaught exception 'Exception' with message 'SimpleXMLElement::__construct() expects exactly 1 parameter, 3 given' in /in/siQ7F:10
Stack trace:
#0 /in/siQ7F(10): SimpleXMLIterator->__construct('<?xml version="...', 0, false)
#1 /in/siQ7F(76): XmlArrayAccessIterator->__construct('<?xml version="...', false)
#2 {main}
thrown in <b>/in/siQ7F</b> on line <b>10</b><br />
Process exited with code 255.
Output for 5.0.0 - 5.0.2
<br />
<b>Fatal error</b>: Uncaught exception 'Exception' with message 'SimpleXMLElement::__construct() expects exactly 1 parameter, 3 given' in /in/siQ7F:10
Stack trace:
#0 /in/siQ7F(76): XmlArrayAccessIterator->__construct('<?xml version="...', 0, false)
#1 {main}
thrown in <b>/in/siQ7F</b> on line <b>10</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/siQ7F</b> on line <b>3</b><br />
Process exited with code 255.