<?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>';
preferences:
59.81 ms | 402 KiB | 5 Q