object(SimpleXMLElement)#6 (3) {
[0]=>
string(1) "A"
[1]=>
string(1) "B"
[2]=>
string(1) "C"
}
Warning: Undefined variable $key in /in/mnWFW on line 27
Warning: Undefined variable $img in /in/mnWFW on line 27
NULL
NULL
Warning: Undefined variable $key in /in/mnWFW on line 27
Warning: Undefined variable $img in /in/mnWFW on line 27
NULL
NULL
Warning: Undefined variable $key in /in/mnWFW on line 27
Warning: Undefined variable $img in /in/mnWFW on line 27
NULL
NULL
<?xml version="1.0"?>
<items>
<item>
<images><image0>A</image0><image1>B</image1><image2>C</image2></images></item>
</items>
object(SimpleXMLElement)#6 (3) {
[0]=>
string(1) "A"
[1]=>
string(1) "B"
[2]=>
string(1) "C"
}
Notice: Undefined variable: key in /in/mnWFW on line 27
Notice: Undefined variable: img in /in/mnWFW on line 27
NULL
NULL
Notice: Undefined variable: key in /in/mnWFW on line 27
Notice: Undefined variable: img in /in/mnWFW on line 27
NULL
NULL
Notice: Undefined variable: key in /in/mnWFW on line 27
Notice: Undefined variable: img in /in/mnWFW on line 27
NULL
NULL
<?xml version="1.0"?>
<items>
<item>
<images><image0>A</image0><image1>B</image1><image2>C</image2></images></item>
</items>
object(SimpleXMLElement)#6 (1) {
[0]=>
string(1) "A"
}
Notice: Undefined variable: key in /in/mnWFW on line 27
Notice: Undefined variable: img in /in/mnWFW on line 27
NULL
NULL
Notice: Undefined variable: key in /in/mnWFW on line 27
Notice: Undefined variable: img in /in/mnWFW on line 27
NULL
NULL
Notice: Undefined variable: key in /in/mnWFW on line 27
Notice: Undefined variable: img in /in/mnWFW on line 27
NULL
NULL
<?xml version="1.0"?>
<items>
<item>
<images><image0>A</image0><image1>B</image1><image2>C</image2></images></item>
</items>
Output for 5.1.0 - 5.1.6, 5.2.0 - 5.2.17
Parse error: syntax error, unexpected ':' in /in/mnWFW on line 28
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected ':' in /in/mnWFW on line 28
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_VARIABLE in /in/mnWFW on line 19
Process exited with code 255.