3v4l.org

run code in 300+ PHP versions simultaneously
<?php $xml= <<<EOT <?xml version="1.0" encoding="utf-16"?><result errors="no"><information><ordersCreated><ReferenceId><OrderNumber>TRP-CCT5012598-1</OrderNumber><ShipToContactId>Contact1</ShipToContactId></ReferenceId></ordersCreated></information></result> EOT; simplexml_load_string($xml); print_r($xml) ?>
Output for git.master, git.master_jit, rfc.property-hooks
Warning: simplexml_load_string(): Entity: line 1: parser error : Document labelled UTF-16 but has UTF-8 content in /in/iq8el on line 6 Warning: simplexml_load_string(): <?xml version="1.0" encoding="utf-16"?><result errors="no"><information><ordersC in /in/iq8el on line 6 Warning: simplexml_load_string(): ^ in /in/iq8el on line 6 <?xml version="1.0" encoding="utf-16"?><result errors="no"><information><ordersCreated><ReferenceId><OrderNumber>TRP-CCT5012598-1</OrderNumber><ShipToContactId>Contact1</ShipToContactId></ReferenceId></ordersCreated></information></result>

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:
46.26 ms | 402 KiB | 8 Q