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);
Finding entry points
Branch analysis from position: 0
1 jumps found. (Code = 62) Position 1 = -2
filename:       /in/NOnl5
function name:  (null)
number of ops:  9
compiled vars:  !0 = $json, !1 = $decoded
line      #* E I O op                           fetch          ext  return  operands
-------------------------------------------------------------------------------------
    3     0  E >   ASSIGN                                                   !0, '%7B%0A++%22Title%22%3A+%22JSON+GM+Broker+Transaction+%28REST+Service%29%22%2C%0A++%22Description%22%3A+%22JSON+GM+Broker+Transaction+%28REST+Service%29%22%2C%0A++%22TransactionType%22%3A+%221%22%2C%0A++%22Partner%22%3A+%7B%0A++++%22PartnerId%22%3A+%226729%22%0A++%7D%2C%0A++%22Buyer%22%3A+%7B%0A++++%22Email%22%3A+%22escrow.buyer%40hotmail.com%22%2C%0A++++%22Initiator%22%3A+%22false%22%2C%0A++++%22CompanyChk%22%3A+%22false%22%2C%0A++++%22AutoAgree%22%3A+%22false%22%2C%0A++++%22AgreementChecked%22%3A+%22false%22%0A++%7D%2C%0A++%22Seller%22%3A+%7B%0A++++%22Email%22%3A+%22escrow.seller%40hotmail.com%22%2C%0A++++%22Initiator%22%3A+%22false%22%2C%0A++++%22CompanyChk%22%3A+%22false%22%2C%0A++++%22AutoAgree%22%3A+%22false%22%2C%0A++++%22AgreementChecked%22%3A+%22false%22%0A++%7D%2C%0A++%22Broker%22%3A+%7B%0A++++%22Email%22%3A+%22escrow.broker%40hotmail.com%22%2C%0A++++%22Initiator%22%3A+%22true%22%2C%0A++++%22CompanyChk%22%3A+%22true%22%2C%0A++++%22AutoAgree%22%3A+%22true%22%2C%0A++++%22AgreementChecked%22%3A+%22true%22%0A++%7D%2C%0A++%22LineItems%22%3A+%5B%0A++++%7B%0A++++++%22ItemName%22%3A+%22Line+item+1%22%2C%0A++++++%22Description%22%3A+%22REST+Service+test+line+item%22%2C%0A++++++%22Quantity%22%3A+%221%22%2C%0A++++++%22Price%22%3A+%222500%22%2C%0A++++++%22Accept%22%3A+%22true%22%2C%0A++++++%22SellComm%22%3A+%22100%22%2C%0A++++++%22BuyComm%22%3A+%2250%22%0A++++%7D%0A++%5D%2C%0A++%22EscrowPayment%22%3A+%220%22%2C%0A++%22ShipmentFee%22%3A+%2225%22%2C%0A++%22ShipmentPayment%22%3A+%220%22%2C%0A++%22InspectionLength%22%3A+%226%22%2C%0A++%22Currency%22%3A+%22USD%22%2C%0A++%22Fulfillment%22%3A+%221%22%2C%0A++%22Disclosure%22%3A+%221%22%2C%0A++%22BrokerCommissionPayee%22%3A+%22Buyer%22%2C%0A++%22BrkCommissionBuyerPortion%22%3A+%2218.1%22%2C%0A++%22BrkCommissionSellerPortion%22%3A+%2219.1%22%2C%0A++%22CommissionType%22%3A+%221%22%2C%0A++%22InitiationDate%22%3A+%222014-04-15%22%2C%0A++%22TransactionLocked%22%3A+%22true%22%2C%0A++%22PartnerTransID%22%3A+%2212345%22%2C%0A++%22TermsLocked%22%3A+%22true%22%2C%0A++%22AllowReject%22%3A+%22true%22%0A%7D'
   60     1        INIT_FCALL                                               'json_decode'
          2        SEND_VAR                                                 !0
          3        DO_ICALL                                         $3      
          4        ASSIGN                                                   !1, $3
   61     5        INIT_FCALL                                               'var_export'
          6        SEND_VAR                                                 !1
          7        DO_ICALL                                                 
          8      > RETURN                                                   1

Generated using Vulcan Logic Dumper, using php 8.0.0


preferences:
162.67 ms | 1396 KiB | 17 Q