3v4l.org

run code in 300+ PHP versions simultaneously
<?php $postdata='{ "mac":"9F4E4F53C57BE63E1F08D8F07A7BC1A9461E4A7D5304043DAA1EF54BD727B6CDE148F4FBFC5E2AD8C4A60F78DFA76304DE671FBEB70657B1628F14B6B6BAA5E1", "beneficiary":{ "firstname":"chi", "lastname":"chi", "othernames":"chi" }, "initiatingEntityCode":"FIB", "initiation":{ "amount":"100000", "channel":"7", "currencyCode":"566", "paymentMethodCode":"CA" }, "sender":{ "email":"isw@interswitch.com", "lastname":"Phil colins", "othernames":"Phil colins", "phone":"08124888436" }, "termination":{ "accountReceivable":{ "accountNumber":"0012000887", "accountType":"10" }, "amount":"100000", "countryCode":"NG", "currencyCode":"566", "entityCode":"058", "paymentMethodCode":"AC" }, "transferCode":"1016858652542545" }'; print_r(json_decode($postdata, true)); echo json_encode(json_decode($postdata));
Output for 7.0.0 - 7.0.20, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.28, 8.2.0 - 8.2.18, 8.3.0 - 8.3.7
Array ( [mac] => 9F4E4F53C57BE63E1F08D8F07A7BC1A9461E4A7D5304043DAA1EF54BD727B6CDE148F4FBFC5E2AD8C4A60F78DFA76304DE671FBEB70657B1628F14B6B6BAA5E1 [beneficiary] => Array ( [firstname] => chi [lastname] => chi [othernames] => chi ) [initiatingEntityCode] => FIB [initiation] => Array ( [amount] => 100000 [channel] => 7 [currencyCode] => 566 [paymentMethodCode] => CA ) [sender] => Array ( [email] => isw@interswitch.com [lastname] => Phil colins [othernames] => Phil colins [phone] => 08124888436 ) [termination] => Array ( [accountReceivable] => Array ( [accountNumber] => 0012000887 [accountType] => 10 ) [amount] => 100000 [countryCode] => NG [currencyCode] => 566 [entityCode] => 058 [paymentMethodCode] => AC ) [transferCode] => 1016858652542545 ) {"mac":"9F4E4F53C57BE63E1F08D8F07A7BC1A9461E4A7D5304043DAA1EF54BD727B6CDE148F4FBFC5E2AD8C4A60F78DFA76304DE671FBEB70657B1628F14B6B6BAA5E1","beneficiary":{"firstname":"chi","lastname":"chi","othernames":"chi"},"initiatingEntityCode":"FIB","initiation":{"amount":"100000","channel":"7","currencyCode":"566","paymentMethodCode":"CA"},"sender":{"email":"isw@interswitch.com","lastname":"Phil colins","othernames":"Phil colins","phone":"08124888436"},"termination":{"accountReceivable":{"accountNumber":"0012000887","accountType":"10"},"amount":"100000","countryCode":"NG","currencyCode":"566","entityCode":"058","paymentMethodCode":"AC"},"transferCode":"1016858652542545"}

preferences:
157.54 ms | 407 KiB | 204 Q