3v4l.org

run code in 300+ PHP versions simultaneously
<?php $string ="<Nissan Hub: Sending add enquiry request for customer 69b2c33e-7615-435f-a53b-c9c6d67e209c. Request as XML: "<?xml version="1.0" encoding="utf-16"?><AddEnquiryRequest xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><Body><DealerShipID>3001</DealerShipID><Password>TxOYylgzzFwXy0n37Xqy</Password><Submission>&lt;?xml version="1.0" encoding="utf-16"?&gt;&lt;Submission xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&gt;&lt;Enquiry&gt;&lt;customerurn&gt;IdWVrhyWZ02cTtrrJevlFg&lt;/customerurn&gt;&lt;dmscustomerurn&gt;IdWVrhyWZ02cTtrrJevlFg&lt;/dmscustomerurn&gt;&lt;enquiryurn&gt;1harY7Iug0S_NUc_6EDPWw&lt;/enquiryurn&gt;&lt;dmsenquiryurn&gt;1harY7Iug0S_NUc_6EDPWw&lt;/dmsenquiryurn&gt;&lt;salestype&gt;P&lt;/salestype&gt;&lt;ispartofmultipurchase&gt;0&lt;/ispartofmultipurchase&gt;&lt;contactsource&gt;1&lt;/contactsource&gt;&lt;contactmethod&gt;1000&lt;/contactmethod&gt;&lt;mediasource&gt;OTH&lt;/mediasource&gt;&lt;mediasourcecampaigncode&gt;Other Media Source&lt;/mediasourcecampaigncode&gt;&lt;ModelOfInterest&gt;&lt;Vehicle&gt;&lt;isnewvehicle&gt;1&lt;/isnewvehicle&gt;&lt;description&gt;Juke&lt;/description&gt;&lt;manu&gt;Nissan&lt;/manu&gt;&lt;model&gt;Juke&lt;/model&gt;&lt;vehicletype&gt;1&lt;/vehicletype&gt;&lt;vatqualifying&gt;0&lt;/vatqualifying&gt;&lt;retailprice xsi:nil="true" /&gt;&lt;isdemo&gt;0&lt;/isdemo&gt;&lt;daysinstock xsi:nil="true" /&gt;&lt;recon xsi:nil="true" /&gt;&lt;siv xsi:nil="true" /&gt;&lt;isavailable&gt;1&lt;/isavailable&gt;&lt;isregistered&gt;0&lt;/isregistered&gt;&lt;/Vehicle&gt;&lt;/ModelOfInterest&gt;&lt;wasprospected&gt;0&lt;/wasprospected&gt;&lt;isfinancerequired&gt;0&lt;/isfinancerequired&gt;&lt;haspx&gt;0&lt;/haspx&gt;&lt;status&gt;2&lt;/status&gt;&lt;qualifieddate&gt;2023-01-24T13:22:35.769+00:00&lt;/qualifieddate&gt;&lt;isfinanced&gt;0&lt;/isfinanced&gt;&lt;disabled&gt;0&lt;/disabled&gt;&lt;Statistics&gt;&lt;updated&gt;2023-01-24T13:24:28.475+00:00&lt;/updated&gt;&lt;updatedby&gt;NataNissan&lt;/updatedby&gt;&lt;/Statistics&gt;&lt;ownedby&gt;Nata Nissan&lt;/ownedby&gt;&lt;/Enquiry&gt;&lt;/Submission&gt;</Submission></Body></AddEnquiryRequest>" $a = htmlspecialchars_decode($string); echo $a;
Output for 8.0.1 - 8.0.27, 8.1.0 - 8.1.14, 8.2.0 - 8.2.1
Parse error: syntax error, unexpected token "?" in /in/llYuB on line 3
Process exited with code 255.

preferences:
19.39 ms | 406 KiB | 5 Q