3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode("{\"paymentMethodsResponse\":{\"paymentMethods\":[{\"name\":\"Sofort.\",\"type\":\"directEbanking\"},{\"brands\":[\"mc\",\"visa\"],\"details\":[{\"key\":\"encryptedCardNumber\",\"type\":\"cardToken\"},{\"key\":\"encryptedSecurityCode\",\"type\":\"cardToken\"},{\"key\":\"encryptedExpiryMonth\",\"type\":\"cardToken\"},{\"key\":\"encryptedExpiryYear\",\"type\":\"cardToken\"},{\"key\":\"holderName\",\"optional\":true,\"type\":\"text\"}],\"name\":\"Kreditkarte\",\"type\":\"scheme\"},{\"configuration\":{\"merchantId\":\"UYBU7MX2LQZSU\",\"intent\":\"capture\"},\"name\":\"PayPal\",\"type\":\"paypal\"},{\"configuration\":{\"merchantId\":\"293099710\",\"gatewayMerchantId\":\"4KraftECOM\"},\"details\":[{\"key\":\"paywithgoogle.token\",\"type\":\"payWithGoogleToken\"}],\"name\":\"Google Pay\",\"type\":\"paywithgoogle\"}]},\"paymentMethodsExtraDetails\":{\"directEbanking\":{\"icon\":{\"url\":\"https:\\\/\\\/kinderkraft.com.de\\\/static\\\/version1631682286\\\/frontend\\\/Kinderkraft\\\/default\\\/de_DE\\\/Adyen_Payment\\\/images\\\/logos\\\/directEbanking.png\",\"width\":65,\"height\":41},\"isOpenInvoice\":false,\"configuration\":{\"amount\":{\"value\":29900,\"currency\":\"EUR\"},\"currency\":\"EUR\"}},\"scheme\":{\"icon\":{\"url\":\"https:\\\/\\\/checkoutshopper-live.adyen.com\\\/checkoutshopper\\\/images\\\/logos\\\/medium\\\/scheme.png\",\"width\":77,\"height\":50},\"isOpenInvoice\":false,\"configuration\":{\"amount\":{\"value\":29900,\"currency\":\"EUR\"},\"currency\":\"EUR\"}},\"paypal\":{\"icon\":{\"url\":\"https:\\\/\\\/kinderkraft.com.de\\\/static\\\/version1631682286\\\/frontend\\\/Kinderkraft\\\/default\\\/de_DE\\\/Adyen_Payment\\\/images\\\/logos\\\/paypal.png\",\"width\":65,\"height\":41},\"isOpenInvoice\":false,\"configuration\":{\"amount\":{\"value\":29900,\"currency\":\"EUR\"},\"currency\":\"EUR\"}},\"paywithgoogle\":{\"icon\":{\"url\":\"https:\\\/\\\/checkoutshopper-live.adyen.com\\\/checkoutshopper\\\/images\\\/logos\\\/medium\\\/paywithgoogle.png\",\"width\":77,\"height\":50},\"isOpenInvoice\":false,\"configuration\":{\"amount\":{\"value\":29900,\"currency\":\"EUR\"},\"currency\":\"EUR\"}}}}"));
Output for git.master, git.master_jit, rfc.property-hooks
object(stdClass)#14 (2) { ["paymentMethodsResponse"]=> object(stdClass)#13 (1) { ["paymentMethods"]=> array(4) { [0]=> object(stdClass)#1 (2) { ["name"]=> string(7) "Sofort." ["type"]=> string(14) "directEbanking" } [1]=> object(stdClass)#2 (4) { ["brands"]=> array(2) { [0]=> string(2) "mc" [1]=> string(4) "visa" } ["details"]=> array(5) { [0]=> object(stdClass)#3 (2) { ["key"]=> string(19) "encryptedCardNumber" ["type"]=> string(9) "cardToken" } [1]=> object(stdClass)#4 (2) { ["key"]=> string(21) "encryptedSecurityCode" ["type"]=> string(9) "cardToken" } [2]=> object(stdClass)#5 (2) { ["key"]=> string(20) "encryptedExpiryMonth" ["type"]=> string(9) "cardToken" } [3]=> object(stdClass)#6 (2) { ["key"]=> string(19) "encryptedExpiryYear" ["type"]=> string(9) "cardToken" } [4]=> object(stdClass)#7 (3) { ["key"]=> string(10) "holderName" ["optional"]=> bool(true) ["type"]=> string(4) "text" } } ["name"]=> string(11) "Kreditkarte" ["type"]=> string(6) "scheme" } [2]=> object(stdClass)#9 (3) { ["configuration"]=> object(stdClass)#8 (2) { ["merchantId"]=> string(13) "UYBU7MX2LQZSU" ["intent"]=> string(7) "capture" } ["name"]=> string(6) "PayPal" ["type"]=> string(6) "paypal" } [3]=> object(stdClass)#11 (4) { ["configuration"]=> object(stdClass)#10 (2) { ["merchantId"]=> string(9) "293099710" ["gatewayMerchantId"]=> string(10) "4KraftECOM" } ["details"]=> array(1) { [0]=> object(stdClass)#12 (2) { ["key"]=> string(19) "paywithgoogle.token" ["type"]=> string(18) "payWithGoogleToken" } } ["name"]=> string(10) "Google Pay" ["type"]=> string(13) "paywithgoogle" } } } ["paymentMethodsExtraDetails"]=> object(stdClass)#19 (4) { ["directEbanking"]=> object(stdClass)#16 (3) { ["icon"]=> object(stdClass)#15 (3) { ["url"]=> string(144) "https:\/\/kinderkraft.com.de\/static\/version1631682286\/frontend\/Kinderkraft\/default\/de_DE\/Adyen_Payment\/images\/logos\/directEbanking.png" ["width"]=> int(65) ["height"]=> int(41) } ["isOpenInvoice"]=> bool(false) ["configuration"]=> object(stdClass)#18 (2) { ["amount"]=> object(stdClass)#17 (2) { ["value"]=> int(29900) ["currency"]=> string(3) "EUR" } ["currency"]=> string(3) "EUR" } } ["scheme"]=> object(stdClass)#21 (3) { ["icon"]=> object(stdClass)#20 (3) { ["url"]=> string(92) "https:\/\/checkoutshopper-live.adyen.com\/checkoutshopper\/images\/logos\/medium\/scheme.png" ["width"]=> int(77) ["height"]=> int(50) } ["isOpenInvoice"]=> bool(false) ["configuration"]=> object(stdClass)#23 (2) { ["amount"]=> object(stdClass)#22 (2) { ["value"]=> int(29900) ["currency"]=> string(3) "EUR" } ["currency"]=> string(3) "EUR" } } ["paypal"]=> object(stdClass)#25 (3) { ["icon"]=> object(stdClass)#24 (3) { ["url"]=> string(136) "https:\/\/kinderkraft.com.de\/static\/version1631682286\/frontend\/Kinderkraft\/default\/de_DE\/Adyen_Payment\/images\/logos\/paypal.png" ["width"]=> int(65) ["height"]=> int(41) } ["isOpenInvoice"]=> bool(false) ["configuration"]=> object(stdClass)#27 (2) { ["amount"]=> object(stdClass)#26 (2) { ["value"]=> int(29900) ["currency"]=> string(3) "EUR" } ["currency"]=> string(3) "EUR" } } ["paywithgoogle"]=> object(stdClass)#29 (3) { ["icon"]=> object(stdClass)#28 (3) { ["url"]=> string(99) "https:\/\/checkoutshopper-live.adyen.com\/checkoutshopper\/images\/logos\/medium\/paywithgoogle.png" ["width"]=> int(77) ["height"]=> int(50) } ["isOpenInvoice"]=> bool(false) ["configuration"]=> object(stdClass)#31 (2) { ["amount"]=> object(stdClass)#30 (2) { ["value"]=> int(29900) ["currency"]=> string(3) "EUR" } ["currency"]=> string(3) "EUR" } } } }

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:
45.74 ms | 413 KiB | 8 Q