3v4l.org

run code in 300+ PHP versions simultaneously
<?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"}"');

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
7.2.110.0130.00016.17
7.2.100.0070.00615.96
7.2.90.0000.01216.30
7.2.80.0060.00716.44
7.2.70.0090.00616.82
7.2.60.0080.00616.54
7.2.50.0120.00316.42
7.2.40.0100.00316.55
7.2.30.0150.00016.37
7.2.20.0090.00316.53
7.2.10.0040.01016.54
7.2.00.0100.00316.62
7.1.230.0130.00015.39
7.1.220.0060.00615.54
7.1.210.0090.00315.18
7.1.200.0000.01115.38
7.1.190.0090.00615.25
7.1.180.0100.00315.20
7.1.170.0060.00615.23
7.1.160.0100.00315.53
7.1.150.0000.01515.55
7.1.140.0090.00615.32
7.1.130.0070.00415.55
7.1.120.0080.00315.45
7.1.110.0070.00715.55
7.1.100.0070.00715.54
7.1.90.0060.00615.53
7.1.80.0120.00315.25
7.1.70.0090.00615.29
7.1.60.0220.01533.57
7.1.50.0210.01133.50
7.1.40.0220.00933.64
7.1.30.0240.01333.59
7.1.20.0320.00333.49
7.1.10.0100.00315.38
7.1.00.0060.00615.54
5.6.380.0000.01713.66

preferences:
140.36 ms | 1394 KiB | 7 Q