3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "Title": "JSON GM Broker Transaction (REST Service)", "Description": "JSON GM Broker Transaction (REST Service)", "TransactionType": "1", "Partner": { "PartnerId": "6729" }, "Buyer": { "Email": "escrow.buyer@hotmail.com", "Initiator": "false", "CompanyChk": "false", "AutoAgree": "false", "AgreementChecked": "false" }, "Seller": { "Email": "escrow.seller@hotmail.com", "Initiator": "false", "CompanyChk": "false", "AutoAgree": "false", "AgreementChecked": "false" }, "Broker": { "Email": "escrow.broker@hotmail.com", "Initiator": "true", "CompanyChk": "true", "AutoAgree": "true", "AgreementChecked": "true" }, "LineItems": [ { "ItemName": "Line item 1", "Description": "REST Service test line item", "Quantity": "1", "Price": "2500", "Accept": "true", "SellComm": "100", "BuyComm": "50" } ], "EscrowPayment": "0", "ShipmentFee": "25", "ShipmentPayment": "0", "InspectionLength": "6", "Currency": "USD", "Fulfillment": "1", "Disclosure": "1", "BrokerCommissionPayee": "Buyer", "BrkCommissionBuyerPortion": "18.1", "BrkCommissionSellerPortion": "19.1", "CommissionType": "1", "InitiationDate": "2014-04-15", "TransactionLocked": "true", "PartnerTransID": "12345", "TermsLocked": "true", "AllowReject": "true" }'; $decoded = json_decode($json); var_export($decoded);
Output for git.master, git.master_jit, rfc.property-hooks
(object) array( 'Title' => 'JSON GM Broker Transaction (REST Service)', 'Description' => 'JSON GM Broker Transaction (REST Service)', 'TransactionType' => '1', 'Partner' => (object) array( 'PartnerId' => '6729', ), 'Buyer' => (object) array( 'Email' => 'escrow.buyer@hotmail.com', 'Initiator' => 'false', 'CompanyChk' => 'false', 'AutoAgree' => 'false', 'AgreementChecked' => 'false', ), 'Seller' => (object) array( 'Email' => 'escrow.seller@hotmail.com', 'Initiator' => 'false', 'CompanyChk' => 'false', 'AutoAgree' => 'false', 'AgreementChecked' => 'false', ), 'Broker' => (object) array( 'Email' => 'escrow.broker@hotmail.com', 'Initiator' => 'true', 'CompanyChk' => 'true', 'AutoAgree' => 'true', 'AgreementChecked' => 'true', ), 'LineItems' => array ( 0 => (object) array( 'ItemName' => 'Line item 1', 'Description' => 'REST Service test line item', 'Quantity' => '1', 'Price' => '2500', 'Accept' => 'true', 'SellComm' => '100', 'BuyComm' => '50', ), ), 'EscrowPayment' => '0', 'ShipmentFee' => '25', 'ShipmentPayment' => '0', 'InspectionLength' => '6', 'Currency' => 'USD', 'Fulfillment' => '1', 'Disclosure' => '1', 'BrokerCommissionPayee' => 'Buyer', 'BrkCommissionBuyerPortion' => '18.1', 'BrkCommissionSellerPortion' => '19.1', 'CommissionType' => '1', 'InitiationDate' => '2014-04-15', 'TransactionLocked' => 'true', 'PartnerTransID' => '12345', 'TermsLocked' => 'true', 'AllowReject' => 'true', )

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:
75.88 ms | 405 KiB | 8 Q