3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?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 typeof($text); echo '<pre>'; print_r($text['order']); echo '</pre>';
based on ks2ia
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function typeof() in /in/flfHO:7 Stack trace: #0 {main} thrown in /in/flfHO on line 7
Process exited with code 255.
Output for 5.4.0 - 5.6.28
Fatal error: Call to undefined function typeof() in /in/flfHO on line 7
Process exited with code 255.