3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<pre><?php $a = '<GetOrdersResponse xmlns="urn:ebay:apis:eBLBaseComponents"><Timestamp>2014-05-14T10:26:38.156Z</Timestamp><Ack>Success</Ack><Version>871</Version><Build>E871_INTL_APIXO_16815617_R1</Build><PaginationResult><TotalNumberOfPages>1</TotalNumberOfPages><TotalNumberOfEntries>1</TotalNumberOfEntries></PaginationResult><HasMoreOrders>false</HasMoreOrders><OrderArray><Order><OrderID>271456598284-1293789298017</OrderID><OrderStatus>Active</OrderStatus><AdjustmentAmount currencyID="EUR">0.0</AdjustmentAmount><AmountPaid currencyID="EUR">22.99</AmountPaid><AmountSaved currencyID="EUR">0.0</AmountSaved><CheckoutStatus><eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus><LastModifiedTime>2014-05-10T19:24:38.000Z</LastModifiedTime><PaymentMethod>None</PaymentMethod><Status>Incomplete</Status><IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled></CheckoutStatus><ShippingDetails><InsuranceFee currencyID="EUR">0.0</InsuranceFee><InsuranceOption>NotOffered</InsuranceOption><InsuranceWanted>false</InsuranceWanted><SalesTax><SalesTaxPercent>0.0</SalesTaxPercent><SalesTaxState></SalesTaxState><ShippingIncludedInTax>false</ShippingIncludedInTax><SalesTaxAmount currencyID="EUR">0.0</SalesTaxAmount></SalesTax><ShippingServiceOptions><ShippingService>FR_PostOfficeLetterFollowed</ShippingService><ShippingServiceCost currencyID="EUR">0.0</ShippingServiceCost><ShippingServicePriority>1</ShippingServicePriority><ExpeditedService>false</ExpeditedService><ShippingTimeMin>1</ShippingTimeMin><ShippingTimeMax>3</ShippingTimeMax></ShippingServiceOptions><SellingManagerSalesRecordNumber>279</SellingManagerSalesRecordNumber><GetItFast>false</GetItFast></ShippingDetails><CreatedTime>2014-05-10T19:24:37.000Z</CreatedTime><PaymentMethods>PayPal</PaymentMethods><SellerEmail>contact@speedelectro.eu</SellerEmail><ShippingAddress><Name></Name><Street1></Street1><Street2></Street2><CityName></CityName><StateOrProvince></StateOrProvince><CountryName></CountryName><Phone></Phone><PostalCode></PostalCode><ExternalAddressID></ExternalAddressID></ShippingAddress><ShippingServiceSelected><ShippingInsuranceCost currencyID="EUR">0.0</ShippingInsuranceCost><ShippingService>FR_PostOfficeLetterFollowed</ShippingService><ShippingServiceCost currencyID="EUR">0.0</ShippingServiceCost></ShippingServiceSelected><Subtotal currencyID="EUR">22.99</Subtotal><Total currencyID="EUR">22.99</Total><TransactionArray><Transaction><Buyer><Email>davidmartinscalheno@yahoo.fr</Email></Buyer><ShippingDetails><SellingManagerSalesRecordNumber>279</SellingManagerSalesRecordNumber></ShippingDetails><CreatedDate>2014-05-10T19:24:37.000Z</CreatedDate><Item><ItemID>271456598284</ItemID><Site>France</Site><Title>Manette sans fil - Urban Camouflage - PS3 - Câble de charge fourni</Title><SKU>1442</SKU><ConditionID>1000</ConditionID><ConditionDisplayName>Neuf</ConditionDisplayName></Item><QuantityPurchased>1</QuantityPurchased><Status><PaymentHoldStatus>None</PaymentHoldStatus></Status><TransactionID>1293789298017</TransactionID><TransactionPrice currencyID="EUR">22.99</TransactionPrice><TransactionSiteID>France</TransactionSiteID><Platform>eBay</Platform><Taxes><TotalTaxAmount currencyID="EUR">0.0</TotalTaxAmount><TaxDetails><Imposition>SalesTax</Imposition><TaxDescription>SalesTax</TaxDescription><TaxAmount currencyID="EUR">0.0</TaxAmount><TaxOnSubtotalAmount currencyID="EUR">0.0</TaxOnSubtotalAmount><TaxOnShippingAmount currencyID="EUR">0.0</TaxOnShippingAmount><TaxOnHandlingAmount currencyID="EUR">0.0</TaxOnHandlingAmount></TaxDetails><TaxDetails><Imposition>WasteRecyclingFee</Imposition><TaxDescription>ElectronicWasteRecyclingFee</TaxDescription><TaxAmount currencyID="EUR">0.0</TaxAmount></TaxDetails></Taxes><OrderLineItemID>271456598284-1293789298017</OrderLineItemID></Transaction></TransactionArray><BuyerUserID>david92400</BuyerUserID><IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled><EIASToken>nY+sHZ2PrBmdj6wVnY+sEZ2PrA2dj6AGk4aoDpODpg+dj6x9nY+seQ==</EIASToken><PaymentHoldStatus>None</PaymentHoldStatus></Order></OrderArray><OrdersPerPage>100</OrdersPerPage><PageNumber>1</PageNumber><ReturnedOrderCountActual>1</ReturnedOrderCountActual></GetOrdersResponse>'; print_r($a); ?> </pre>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<pre><GetOrdersResponse xmlns="urn:ebay:apis:eBLBaseComponents"><Timestamp>2014-05-14T10:26:38.156Z</Timestamp><Ack>Success</Ack><Version>871</Version><Build>E871_INTL_APIXO_16815617_R1</Build><PaginationResult><TotalNumberOfPages>1</TotalNumberOfPages><TotalNumberOfEntries>1</TotalNumberOfEntries></PaginationResult><HasMoreOrders>false</HasMoreOrders><OrderArray><Order><OrderID>271456598284-1293789298017</OrderID><OrderStatus>Active</OrderStatus><AdjustmentAmount currencyID="EUR">0.0</AdjustmentAmount><AmountPaid currencyID="EUR">22.99</AmountPaid><AmountSaved currencyID="EUR">0.0</AmountSaved><CheckoutStatus><eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus><LastModifiedTime>2014-05-10T19:24:38.000Z</LastModifiedTime><PaymentMethod>None</PaymentMethod><Status>Incomplete</Status><IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled></CheckoutStatus><ShippingDetails><InsuranceFee currencyID="EUR">0.0</InsuranceFee><InsuranceOption>NotOffered</InsuranceOption><InsuranceWanted>false</InsuranceWanted><SalesTax><SalesTaxPercent>0.0</SalesTaxPercent><SalesTaxState></SalesTaxState><ShippingIncludedInTax>false</ShippingIncludedInTax><SalesTaxAmount currencyID="EUR">0.0</SalesTaxAmount></SalesTax><ShippingServiceOptions><ShippingService>FR_PostOfficeLetterFollowed</ShippingService><ShippingServiceCost currencyID="EUR">0.0</ShippingServiceCost><ShippingServicePriority>1</ShippingServicePriority><ExpeditedService>false</ExpeditedService><ShippingTimeMin>1</ShippingTimeMin><ShippingTimeMax>3</ShippingTimeMax></ShippingServiceOptions><SellingManagerSalesRecordNumber>279</SellingManagerSalesRecordNumber><GetItFast>false</GetItFast></ShippingDetails><CreatedTime>2014-05-10T19:24:37.000Z</CreatedTime><PaymentMethods>PayPal</PaymentMethods><SellerEmail>contact@speedelectro.eu</SellerEmail><ShippingAddress><Name></Name><Street1></Street1><Street2></Street2><CityName></CityName><StateOrProvince></StateOrProvince><CountryName></CountryName><Phone></Phone><PostalCode></PostalCode><ExternalAddressID></ExternalAddressID></ShippingAddress><ShippingServiceSelected><ShippingInsuranceCost currencyID="EUR">0.0</ShippingInsuranceCost><ShippingService>FR_PostOfficeLetterFollowed</ShippingService><ShippingServiceCost currencyID="EUR">0.0</ShippingServiceCost></ShippingServiceSelected><Subtotal currencyID="EUR">22.99</Subtotal><Total currencyID="EUR">22.99</Total><TransactionArray><Transaction><Buyer><Email>davidmartinscalheno@yahoo.fr</Email></Buyer><ShippingDetails><SellingManagerSalesRecordNumber>279</SellingManagerSalesRecordNumber></ShippingDetails><CreatedDate>2014-05-10T19:24:37.000Z</CreatedDate><Item><ItemID>271456598284</ItemID><Site>France</Site><Title>Manette sans fil - Urban Camouflage - PS3 - Câble de charge fourni</Title><SKU>1442</SKU><ConditionID>1000</ConditionID><ConditionDisplayName>Neuf</ConditionDisplayName></Item><QuantityPurchased>1</QuantityPurchased><Status><PaymentHoldStatus>None</PaymentHoldStatus></Status><TransactionID>1293789298017</TransactionID><TransactionPrice currencyID="EUR">22.99</TransactionPrice><TransactionSiteID>France</TransactionSiteID><Platform>eBay</Platform><Taxes><TotalTaxAmount currencyID="EUR">0.0</TotalTaxAmount><TaxDetails><Imposition>SalesTax</Imposition><TaxDescription>SalesTax</TaxDescription><TaxAmount currencyID="EUR">0.0</TaxAmount><TaxOnSubtotalAmount currencyID="EUR">0.0</TaxOnSubtotalAmount><TaxOnShippingAmount currencyID="EUR">0.0</TaxOnShippingAmount><TaxOnHandlingAmount currencyID="EUR">0.0</TaxOnHandlingAmount></TaxDetails><TaxDetails><Imposition>WasteRecyclingFee</Imposition><TaxDescription>ElectronicWasteRecyclingFee</TaxDescription><TaxAmount currencyID="EUR">0.0</TaxAmount></TaxDetails></Taxes><OrderLineItemID>271456598284-1293789298017</OrderLineItemID></Transaction></TransactionArray><BuyerUserID>david92400</BuyerUserID><IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled><EIASToken>nY+sHZ2PrBmdj6wVnY+sEZ2PrA2dj6AGk4aoDpODpg+dj6x9nY+seQ==</EIASToken><PaymentHoldStatus>None</PaymentHoldStatus></Order></OrderArray><OrdersPerPage>100</OrdersPerPage><PageNumber>1</PageNumber><ReturnedOrderCountActual>1</ReturnedOrderCountActual></GetOrdersResponse></pre>