3v4l.org

run code in 300+ PHP versions simultaneously
<?php $temp = '{ "$descriptor": "Sage Accounts 50 | commodity - Enter your company name", "$url": "http://fd-server-sage:5493/sdata/accounts50/GCRM/{C28ECAEF-EACD-4F64-BC72-0AE1F1CB3447}/commodities", "$totalResults": 1141, "$startIndex": 1, "$itemsPerPage": 1141, "$resources": [ { "$url": "http://fd-server-sage:5493/sdata/accounts50/GCRM/{C28ECAEF-EACD-4F64-BC72-0AE1F1CB3447}/commodities(663f63d9-81e1-4489-8b40-14a65deb305d)?format=atomentry", "$uuid": "663f63d9-81e1-4489-8b40-14a65deb305d", "$httpStatus": "OK", "$descriptor": "", "freeStock": 1.0, "onOrder": 0.0, "salesPrice": 0.0 } ] }'; $temp = trim($temp,''); try{ $data = json_decode($temp); } catch(Exception $e){ echo ($e); } echo $data;
Output for git.master, git.master_jit, rfc.property-hooks
Fatal error: Uncaught Error: Object of class stdClass could not be converted to string in /in/EiFjF:34 Stack trace: #0 {main} thrown in /in/EiFjF on line 34
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:
59.19 ms | 401 KiB | 8 Q