3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '{"order":{"orderId":"TKTSVMMDTJ151001GUEST000P01","extOrderId":"f81d5dbc163da7e2695d9bb4042b654c","orderCreateDate":"2015-10-01T12:35:49.636+02:00","notifyUrl":"http://b2b-horyzont.przegladaj.eu/orders/orderNotify","customerIp":"62.133.131.130","merchantPosId":"145227","description":"Horyzont","currencyCode":"PLN","totalAmount":"2607","buyer":{"customerId":"guest","email":"arekrrr@gmail.com","phone":"123123123","firstName":"Arkadiusz","lastName":"Rado","language":"pl"},"payMethod":{"type":"PBL"},"status":"COMPLETED","products":[{"name":"Wizytówki","unitPrice":"1107","quantity":"1"}]},"localReceiptDateTime":"2015-10-01T12:35:56.350+02:00","properties":[{"name":"PAYMENT_ID","value":"602454718"}]}'; $text = json_encode($text); echo '<pre>'; print_r($text['order']); echo '</pre>';
Output for git.master, git.master_jit, rfc.property-hooks
<pre> Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /in/ks2ia:8 Stack trace: #0 {main} thrown in /in/ks2ia on line 8
Process exited with code 255.

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:
48.66 ms | 401 KiB | 8 Q