3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php <?php echo stripslashes('{"id":"evt_1DOrntCv5RWBFPpP94ZM4M9e","object":"event","api_version":"2017-08-15","created":1540408445,"data":{"object":{"id":"in_1DOqs3Cv5RWBFPpP9MnfkBQ5","object":"invoice","amount_due":109,"amount_paid":109,"amount_remaining":0,"application_fee":null,"attempt_count":1,"attempted":true,"auto_advance":false,"billing":"send_invoice","billing_reason":"manual","charge":"ch_1DOrnsCv5RWBFPpP6ihX9ajQ","closed":true,"currency":"usd","customer":"cus_DqXwyNxObufKHX","date":1540404859,"description":null,"discount":null,"due_date":1540491443,"ending_balance":0,"forgiven":false,"hosted_invoice_url":"https:\/\/pay.stripe.com\/invoice\/invst_aNlVHvq5f3QHvVwRwdzXFbJygg","invoice_pdf":"https:\/\/pay.stripe.com\/invoice\/invst_aNlVHvq5f3QHvVwRwdzXFbJygg\/pdf","lines":{"object":"list","data":[{"id":"ii_1DOqthCv5RWBFPpPQ7R9NLKm","object":"line_item","amount":0,"currency":"usd","description":null,"discountable":true,"invoice_item":"ii_1DOqthCv5RWBFPpPQ7R9NLKm","livemode":true,"metadata":[],"period":{"end":1540404961,"start":1540404961},"plan":null,"proration":false,"quantity":1,"subscription":null,"type":"invoiceitem"},{"id":"ii_1DOqs3Cv5RWBFPpP111Si1P3","object":"line_item","amount":100,"currency":"usd","description":"Test case for billing","discountable":true,"invoice_item":"ii_1DOqs3Cv5RWBFPpP111Si1P3","livemode":true,"metadata":[],"period":{"end":1540404859,"start":1540404859},"plan":null,"proration":false,"quantity":1,"subscription":null,"type":"invoiceitem"}],"has_more":false,"total_count":2,"url":"\/v1\/invoices\/in_1DOqs3Cv5RWBFPpP9MnfkBQ5\/lines"},"livemode":true,"metadata":[],"next_payment_attempt":null,"number":"E823917-0001","paid":true,"period_end":1540404859,"period_start":1540404859,"receipt_number":null,"starting_balance":0,"statement_descriptor":null,"subscription":null,"subtotal":100,"tax":9,"tax_percent":8.625,"total":109,"webhooks_delivered_at":1540404860}},"livemode":true,"pending_webhooks":1,"request":{"id":"req_zgMbliY9C5191i","idempotency_key":null},"type":"invoice.payment_succeeded"}"');
Output for 7.0.28 - 7.3.0rc3
Parse error: syntax error, unexpected '<', expecting end of file in /in/kLWXI on line 3
Process exited with code 255.
Output for 5.6.38
Parse error: syntax error, unexpected '<' in /in/kLWXI on line 3
Process exited with code 255.