<?php
$xml = <<<XML
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope"
>
<soap:Body>
<FlagSeatsViaXmlRequestResponse xmlns="http://www.rodrigue.fr/">
<FlagSeatsViaXmlRequestResult>
<root basketid="772" creationdate="20140514 14:36:58">
<flagarea sessionid="421" eventid="100"
sectionid="180001" zoneid="180001" floorid="180001" categoryid="180001" formulaid="1">
<bloccontigue>
<flagseat iindex="218"
entree_id="904" pos_x="28" pos_y="20" rank="B" seat="5" denomination="FAUTEUIL" priceid="4410026" mailingproductid="0"
gpid="7935" vtsId="50"
UnitPriceInCents="1950"/>
<flagseat iindex="231" entree_id="915" pos_x="29" pos_y="20" rank="B" seat="7" denomination="FAUTEUIL"
priceid="4410026" mailingproductid="0" gpid="7935" vtsId="50" UnitPriceInCents="1950"/>
</bloccontigue>
</flagarea>
<flagarea
sessionid="423" eventid="207" sectionid="180001" zoneid="180001" floorid="180001" categoryid="180001" formulaid="1">
<bloccontigue>
<flagseat
iindex="230" entree_id="561" pos_x="29" pos_y="19" rank="C" seat="7" denomination="FAUTEUIL" priceid="4410026"
mailingproductid="0" gpid="7650"
vtsId="61" UnitPriceInCents="1950"/>
<flagseat iindex="241" entree_id="572" pos_x="30" pos_y="19" rank="C" seat="9"
denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7650" vtsId="61" UnitPriceInCents="1950"/>
</bloccontigue>
</flagarea>
<flagarea
sessionid="117" eventid="94" sectionid="170001" zoneid="170001" floorid="0" categoryid="170001" formulaid="1">
<bloccontigue>
<flagseat
iindex="1020" entree_id="916" pos_x="62" pos_y="42" rank="S" seat="21" denomination="FAUTEUIL" priceid="4410026"
mailingproductid="0"
gpid="7651" vtsId="112" UnitPriceInCents="1950"/>
<flagseat iindex="1047" entree_id="943" pos_x="63" pos_y="42" rank="S" seat="23"
denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7651" vtsId="112" UnitPriceInCents="1950"/>
</bloccontigue>
</flagarea>
<flagarea
sessionid="155" eventid="120" sectionid="170001" zoneid="170001" floorid="0" categoryid="170001" formulaid="1">
<bloccontigue>
<flagseat
iindex="1043" entree_id="939" pos_x="63" pos_y="24" rank="C" seat="17" denomination="FAUTEUIL" priceid="4410026"
mailingproductid="0"
gpid="7625" vtsId="66" UnitPriceInCents="1950"/>
<flagseat iindex="1070" entree_id="966" pos_x="64" pos_y="24" rank="C" seat="19"
denomination="FAUTEUIL" priceid="4410026" mailingproductid="0" gpid="7625" vtsId="66" UnitPriceInCents="1950"/>
</bloccontigue>
</flagarea>
<mailingproducts
/>
</root>
</FlagSeatsViaXmlRequestResult>
</FlagSeatsViaXmlRequestResponse>
</soap:Body>
</soap:Envelope>
XML;
$response = simplexml_load_string($xml);
var_dump($response->xpath("//soap:Body/*[local-name()='FlagSeatsViaXmlRequestResponse'][1]"));
- Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.6
- array(1) {
[0]=>
object(SimpleXMLElement)#2 (1) {
["FlagSeatsViaXmlRequestResult"]=>
object(SimpleXMLElement)#3 (1) {
["root"]=>
object(SimpleXMLElement)#4 (3) {
["@attributes"]=>
array(2) {
["basketid"]=>
string(3) "772"
["creationdate"]=>
string(17) "20140514 14:36:58"
}
["flagarea"]=>
array(4) {
[0]=>
object(SimpleXMLElement)#5 (2) {
["@attributes"]=>
array(7) {
["sessionid"]=>
string(3) "421"
["eventid"]=>
string(3) "100"
["sectionid"]=>
string(6) "180001"
["zoneid"]=>
string(6) "180001"
["floorid"]=>
string(6) "180001"
["categoryid"]=>
string(6) "180001"
["formulaid"]=>
string(1) "1"
}
["bloccontigue"]=>
object(SimpleXMLElement)#10 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#11 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(3) "218"
["entree_id"]=>
string(3) "904"
["pos_x"]=>
string(2) "28"
["pos_y"]=>
string(2) "20"
["rank"]=>
string(1) "B"
["seat"]=>
string(1) "5"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7935"
["vtsId"]=>
string(2) "50"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
[1]=>
object(SimpleXMLElement)#12 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(3) "231"
["entree_id"]=>
string(3) "915"
["pos_x"]=>
string(2) "29"
["pos_y"]=>
string(2) "20"
["rank"]=>
string(1) "B"
["seat"]=>
string(1) "7"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7935"
["vtsId"]=>
string(2) "50"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
}
}
}
[1]=>
object(SimpleXMLElement)#6 (2) {
["@attributes"]=>
array(7) {
["sessionid"]=>
string(3) "423"
["eventid"]=>
string(3) "207"
["sectionid"]=>
string(6) "180001"
["zoneid"]=>
string(6) "180001"
["floorid"]=>
string(6) "180001"
["categoryid"]=>
string(6) "180001"
["formulaid"]=>
string(1) "1"
}
["bloccontigue"]=>
object(SimpleXMLElement)#10 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#12 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(3) "230"
["entree_id"]=>
string(3) "561"
["pos_x"]=>
string(2) "29"
["pos_y"]=>
string(2) "19"
["rank"]=>
string(1) "C"
["seat"]=>
string(1) "7"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7650"
["vtsId"]=>
string(2) "61"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
[1]=>
object(SimpleXMLElement)#11 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(3) "241"
["entree_id"]=>
string(3) "572"
["pos_x"]=>
string(2) "30"
["pos_y"]=>
string(2) "19"
["rank"]=>
string(1) "C"
["seat"]=>
string(1) "9"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7650"
["vtsId"]=>
string(2) "61"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
}
}
}
[2]=>
object(SimpleXMLElement)#7 (2) {
["@attributes"]=>
array(7) {
["sessionid"]=>
string(3) "117"
["eventid"]=>
string(2) "94"
["sectionid"]=>
string(6) "170001"
["zoneid"]=>
string(6) "170001"
["floorid"]=>
string(1) "0"
["categoryid"]=>
string(6) "170001"
["formulaid"]=>
string(1) "1"
}
["bloccontigue"]=>
object(SimpleXMLElement)#10 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#11 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(4) "1020"
["entree_id"]=>
string(3) "916"
["pos_x"]=>
string(2) "62"
["pos_y"]=>
string(2) "42"
["rank"]=>
string(1) "S"
["seat"]=>
string(2) "21"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7651"
["vtsId"]=>
string(3) "112"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
[1]=>
object(SimpleXMLElement)#12 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(4) "1047"
["entree_id"]=>
string(3) "943"
["pos_x"]=>
string(2) "63"
["pos_y"]=>
string(2) "42"
["rank"]=>
string(1) "S"
["seat"]=>
string(2) "23"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7651"
["vtsId"]=>
string(3) "112"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
}
}
}
[3]=>
object(SimpleXMLElement)#8 (2) {
["@attributes"]=>
array(7) {
["sessionid"]=>
string(3) "155"
["eventid"]=>
string(3) "120"
["sectionid"]=>
string(6) "170001"
["zoneid"]=>
string(6) "170001"
["floorid"]=>
string(1) "0"
["categoryid"]=>
string(6) "170001"
["formulaid"]=>
string(1) "1"
}
["bloccontigue"]=>
object(SimpleXMLElement)#10 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#12 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(4) "1043"
["entree_id"]=>
string(3) "939"
["pos_x"]=>
string(2) "63"
["pos_y"]=>
string(2) "24"
["rank"]=>
string(1) "C"
["seat"]=>
string(2) "17"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7625"
["vtsId"]=>
string(2) "66"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
[1]=>
object(SimpleXMLElement)#11 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(4) "1070"
["entree_id"]=>
string(3) "966"
["pos_x"]=>
string(2) "64"
["pos_y"]=>
string(2) "24"
["rank"]=>
string(1) "C"
["seat"]=>
string(2) "19"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7625"
["vtsId"]=>
string(2) "66"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
}
}
}
}
["mailingproducts"]=>
object(SimpleXMLElement)#9 (0) {
}
}
}
}
}
- Output for 5.1.2 - 5.1.6, 5.2.0 - 5.2.17
- array(1) {
[0]=>
object(SimpleXMLElement)#2 (1) {
["FlagSeatsViaXmlRequestResult"]=>
object(SimpleXMLElement)#3 (1) {
["root"]=>
object(SimpleXMLElement)#4 (3) {
["@attributes"]=>
array(2) {
["basketid"]=>
string(3) "772"
["creationdate"]=>
string(17) "20140514 14:36:58"
}
["flagarea"]=>
array(4) {
[0]=>
object(SimpleXMLElement)#5 (2) {
["@attributes"]=>
array(7) {
["sessionid"]=>
string(3) "421"
["eventid"]=>
string(3) "100"
["sectionid"]=>
string(6) "180001"
["zoneid"]=>
string(6) "180001"
["floorid"]=>
string(6) "180001"
["categoryid"]=>
string(6) "180001"
["formulaid"]=>
string(1) "1"
}
["bloccontigue"]=>
object(SimpleXMLElement)#10 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#11 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(3) "218"
["entree_id"]=>
string(3) "904"
["pos_x"]=>
string(2) "28"
["pos_y"]=>
string(2) "20"
["rank"]=>
string(1) "B"
["seat"]=>
string(1) "5"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7935"
["vtsId"]=>
string(2) "50"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
[1]=>
object(SimpleXMLElement)#12 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(3) "231"
["entree_id"]=>
string(3) "915"
["pos_x"]=>
string(2) "29"
["pos_y"]=>
string(2) "20"
["rank"]=>
string(1) "B"
["seat"]=>
string(1) "7"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7935"
["vtsId"]=>
string(2) "50"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
}
}
}
[1]=>
object(SimpleXMLElement)#6 (2) {
["@attributes"]=>
array(7) {
["sessionid"]=>
string(3) "423"
["eventid"]=>
string(3) "207"
["sectionid"]=>
string(6) "180001"
["zoneid"]=>
string(6) "180001"
["floorid"]=>
string(6) "180001"
["categoryid"]=>
string(6) "180001"
["formulaid"]=>
string(1) "1"
}
["bloccontigue"]=>
object(SimpleXMLElement)#13 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#14 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(3) "230"
["entree_id"]=>
string(3) "561"
["pos_x"]=>
string(2) "29"
["pos_y"]=>
string(2) "19"
["rank"]=>
string(1) "C"
["seat"]=>
string(1) "7"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7650"
["vtsId"]=>
string(2) "61"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
[1]=>
object(SimpleXMLElement)#15 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(3) "241"
["entree_id"]=>
string(3) "572"
["pos_x"]=>
string(2) "30"
["pos_y"]=>
string(2) "19"
["rank"]=>
string(1) "C"
["seat"]=>
string(1) "9"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7650"
["vtsId"]=>
string(2) "61"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
}
}
}
[2]=>
object(SimpleXMLElement)#7 (2) {
["@attributes"]=>
array(7) {
["sessionid"]=>
string(3) "117"
["eventid"]=>
string(2) "94"
["sectionid"]=>
string(6) "170001"
["zoneid"]=>
string(6) "170001"
["floorid"]=>
string(1) "0"
["categoryid"]=>
string(6) "170001"
["formulaid"]=>
string(1) "1"
}
["bloccontigue"]=>
object(SimpleXMLElement)#16 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#17 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(4) "1020"
["entree_id"]=>
string(3) "916"
["pos_x"]=>
string(2) "62"
["pos_y"]=>
string(2) "42"
["rank"]=>
string(1) "S"
["seat"]=>
string(2) "21"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7651"
["vtsId"]=>
string(3) "112"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
[1]=>
object(SimpleXMLElement)#18 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(4) "1047"
["entree_id"]=>
string(3) "943"
["pos_x"]=>
string(2) "63"
["pos_y"]=>
string(2) "42"
["rank"]=>
string(1) "S"
["seat"]=>
string(2) "23"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7651"
["vtsId"]=>
string(3) "112"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
}
}
}
[3]=>
object(SimpleXMLElement)#8 (2) {
["@attributes"]=>
array(7) {
["sessionid"]=>
string(3) "155"
["eventid"]=>
string(3) "120"
["sectionid"]=>
string(6) "170001"
["zoneid"]=>
string(6) "170001"
["floorid"]=>
string(1) "0"
["categoryid"]=>
string(6) "170001"
["formulaid"]=>
string(1) "1"
}
["bloccontigue"]=>
object(SimpleXMLElement)#19 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#20 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(4) "1043"
["entree_id"]=>
string(3) "939"
["pos_x"]=>
string(2) "63"
["pos_y"]=>
string(2) "24"
["rank"]=>
string(1) "C"
["seat"]=>
string(2) "17"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7625"
["vtsId"]=>
string(2) "66"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
[1]=>
object(SimpleXMLElement)#21 (1) {
["@attributes"]=>
array(12) {
["iindex"]=>
string(4) "1070"
["entree_id"]=>
string(3) "966"
["pos_x"]=>
string(2) "64"
["pos_y"]=>
string(2) "24"
["rank"]=>
string(1) "C"
["seat"]=>
string(2) "19"
["denomination"]=>
string(8) "FAUTEUIL"
["priceid"]=>
string(7) "4410026"
["mailingproductid"]=>
string(1) "0"
["gpid"]=>
string(4) "7625"
["vtsId"]=>
string(2) "66"
["UnitPriceInCents"]=>
string(4) "1950"
}
}
}
}
}
}
["mailingproducts"]=>
object(SimpleXMLElement)#9 (0) {
}
}
}
}
}
- Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.1
- array(1) {
[0]=>
object(SimpleXMLElement)#2 (1) {
["FlagSeatsViaXmlRequestResult"]=>
object(SimpleXMLElement)#3 (1) {
["root"]=>
object(SimpleXMLElement)#4 (2) {
["flagarea"]=>
array(4) {
[0]=>
object(SimpleXMLElement)#5 (1) {
["bloccontigue"]=>
object(SimpleXMLElement)#10 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#11 (0) {
}
[1]=>
object(SimpleXMLElement)#12 (0) {
}
}
}
}
[1]=>
object(SimpleXMLElement)#6 (1) {
["bloccontigue"]=>
object(SimpleXMLElement)#13 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#14 (0) {
}
[1]=>
object(SimpleXMLElement)#15 (0) {
}
}
}
}
[2]=>
object(SimpleXMLElement)#7 (1) {
["bloccontigue"]=>
object(SimpleXMLElement)#16 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#17 (0) {
}
[1]=>
object(SimpleXMLElement)#18 (0) {
}
}
}
}
[3]=>
object(SimpleXMLElement)#8 (1) {
["bloccontigue"]=>
object(SimpleXMLElement)#19 (1) {
["flagseat"]=>
array(2) {
[0]=>
object(SimpleXMLElement)#20 (0) {
}
[1]=>
object(SimpleXMLElement)#21 (0) {
}
}
}
}
}
["mailingproducts"]=>
object(SimpleXMLElement)#9 (0) {
}
}
}
}
}
- Output for 4.4.5 - 4.4.9
- Fatal error: Call to undefined function: simplexml_load_string() in /in/lsKev on line 63
Process exited with code 255. - Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.1, 4.4.3 - 4.4.4
- Fatal error: Call to undefined function: simplexml_load_string() in /in/lsKev on line 63
Process exited with code 255. - Output for 4.4.2
- Fatal error: Call to undefined function: simplexml_load_string() in /in/lsKev on line 64
Process exited with code 255. - Output for 4.3.0 - 4.3.1
- Fatal error: Call to undefined function: simplexml_load_string() in /in/lsKev on line 63
preferences:
313.76 ms | 401 KiB | 329 Q