3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml = <<<XML <?xml version="1.0" encoding="UTF-8" standalone="no"?> <globkurier> <login>sklep@soro.pl</login> <password>a88349c3721b83cb1514cb4d088ca9c6</password> <apikey>FmBpD-UFgNB-qbh29-i2x69</apikey> <order_method>SAVE</order_method> <order_source>API</order_source> <orders><order> <reference>7144</reference> <sent_date>2015-12-29</sent_date> <base_service>S3003</base_service><additional_services><additional_service>A3003</additional_service><additional_service>A3009<$ <cod_account></cod_account> <insurance_amount>1000.00</insurance_amount> <declared_value>0.00</declared_value> <payment_type>D</payment_type> <content>Artyku�^�y dla noworodka</content> <weight>4.00</weight> <length>50</length> <width>30</width> <height>25</height> <number_of_parcels>1</number_of_parcels> <comments></comments> <discount_code></discount_code> <sender> <name>SORO</name> <street>Ul. Rynek</street> <house_number>1</house_number> <apartment_number>7</apartment_number> <postal_code>58-370</postal_code> <city>Boguszów-Gorce</city> <country>PL</country> <contact_person>Pawe�^� Marciniak</contact_person> <phone>517543006</phone> <email>sklep@soro.pl</email> </sender> <receiver> <name>Renata Gryniewicz-Struk </name> <street>Mieszcza�^�ska</street> <house_number>62</house_number> <apartment_number></apartment_number> <postal_code>21-500</postal_code> <city>Bia�^�a-Podlaska</city> <country>PL</country> <contact_person>Renata Gryniewicz-Struk</contact_person> <phone>513089666</phone> <email>kaszpirka@interia.pl</email> </receiver></order></orders></globkurier> XML; var_dump(simplexml_load_string($xml));
Output for git.master, git.master_jit, rfc.property-hooks
Warning: simplexml_load_string(): Entity: line 11: parser error : StartTag: invalid element name in /in/84MTa on line 52 Warning: simplexml_load_string(): ervices><additional_service>A3003</additional_service><additional_service>A3009< in /in/84MTa on line 52 Warning: simplexml_load_string(): ^ in /in/84MTa on line 52 Warning: simplexml_load_string(): Entity: line 47: parser error : Opening and ending tag mismatch: additional_service line 11 and order in /in/84MTa on line 52 Warning: simplexml_load_string(): </receiver></order></orders></globkurier> in /in/84MTa on line 52 Warning: simplexml_load_string(): ^ in /in/84MTa on line 52 Warning: simplexml_load_string(): Entity: line 47: parser error : Opening and ending tag mismatch: additional_services line 11 and orders in /in/84MTa on line 52 Warning: simplexml_load_string(): </receiver></order></orders></globkurier> in /in/84MTa on line 52 Warning: simplexml_load_string(): ^ in /in/84MTa on line 52 Warning: simplexml_load_string(): Entity: line 47: parser error : Opening and ending tag mismatch: order line 8 and globkurier in /in/84MTa on line 52 Warning: simplexml_load_string(): </receiver></order></orders></globkurier> in /in/84MTa on line 52 Warning: simplexml_load_string(): ^ in /in/84MTa on line 52 Warning: simplexml_load_string(): Entity: line 47: parser error : Premature end of data in tag orders line 8 in /in/84MTa on line 52 Warning: simplexml_load_string(): </receiver></order></orders></globkurier> in /in/84MTa on line 52 Warning: simplexml_load_string(): ^ in /in/84MTa on line 52 Warning: simplexml_load_string(): Entity: line 47: parser error : Premature end of data in tag globkurier line 2 in /in/84MTa on line 52 Warning: simplexml_load_string(): </receiver></order></orders></globkurier> in /in/84MTa on line 52 Warning: simplexml_load_string(): ^ in /in/84MTa on line 52 bool(false)

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
53.68 ms | 409 KiB | 8 Q