3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo print_r(json_decode('{ "card.type": { "inputType": "radio" }, "card.text": { "inputType": "textarea", "height": "120px" }, "card.anonymous": { "title": "Ik wil anoniem blijven" }, "address.recipient.countryCode": { "enumTitles": { "NL": "Nederland", "BE": "België", "LU": "Luxemburg" } }, "address.recipient.addressType": { "enumTitles": { "residence": "Woning", "company": "Bedrijf", "hospital": "Ziekenhuis", "funeral center": "Uitvaartcentrum of crematorium", "church": "Kerk", "other": "Anders" } }, "address.recipient.salutation": { "enumTitles": { "mr": "De heer", "mrs": "Mevrouw" } }, "address.customer.equalToDeliveryAddress": { "title": "Gelijk aan bezorgadres" }, "address.customer.type": { "inputType": "radio", "enumTitles": { "individual": "Particulier", "company": "Bedrijf" } }, "address.customer.countryCode": { "enumTitles": { "NL": "Nederland", "BE": "België", "LU": "Luxemburg" } }, "address.customer.salutation": { "enumTitles": { "mr": "De heer", "mrs": "Mevrouw" } }, "delivery.partOfDay": { "inputType": "radio", "enumTitles": { "allDay": "Overdag", "morning": "Ochtend\n08:00 - 12:00 extra € 4,95", "afternoon": "Middag\n12:00 - 17:00 extra € 3,95", "evening": "Ochtend\n17:00 - 21:00 extra € 5,95" } }, "delivery.comment": { "inputType": "textarea", "height": "120px" }, "payment.type": { }, "items": { "format": "table", "options": { "disable_array_add": false, "disable_array_reorder": true } }, "items.webProductCollectionMemberId": { "inputType": "hidden" }, "final.termsAndConditions": { "title": "Ik ga akkoord met de <a href=\"/algmene-voorwaarden\">algemene voorwaarden</a>" }, "final.keepMeUpdated": { "title": "Ik wil graag op de hoogte gehouden worden van acties" }, "final.postalInvoice": { "title": "Ik wil graag de factuur per post ontvangen (€ 1,95)" } }'));
Output for 5.2.0 - 7.1.0
stdClass Object ( [card.type] => stdClass Object ( [inputType] => radio ) [card.text] => stdClass Object ( [inputType] => textarea [height] => 120px ) [card.anonymous] => stdClass Object ( [title] => Ik wil anoniem blijven ) [address.recipient.countryCode] => stdClass Object ( [enumTitles] => stdClass Object ( [NL] => Nederland [BE] => België [LU] => Luxemburg ) ) [address.recipient.addressType] => stdClass Object ( [enumTitles] => stdClass Object ( [residence] => Woning [company] => Bedrijf [hospital] => Ziekenhuis [funeral center] => Uitvaartcentrum of crematorium [church] => Kerk [other] => Anders ) ) [address.recipient.salutation] => stdClass Object ( [enumTitles] => stdClass Object ( [mr] => De heer [mrs] => Mevrouw ) ) [address.customer.equalToDeliveryAddress] => stdClass Object ( [title] => Gelijk aan bezorgadres ) [address.customer.type] => stdClass Object ( [inputType] => radio [enumTitles] => stdClass Object ( [individual] => Particulier [company] => Bedrijf ) ) [address.customer.countryCode] => stdClass Object ( [enumTitles] => stdClass Object ( [NL] => Nederland [BE] => België [LU] => Luxemburg ) ) [address.customer.salutation] => stdClass Object ( [enumTitles] => stdClass Object ( [mr] => De heer [mrs] => Mevrouw ) ) [delivery.partOfDay] => stdClass Object ( [inputType] => radio [enumTitles] => stdClass Object ( [allDay] => Overdag [morning] => Ochtend 08:00 - 12:00 extra € 4,95 [afternoon] => Middag 12:00 - 17:00 extra € 3,95 [evening] => Ochtend 17:00 - 21:00 extra € 5,95 ) ) [delivery.comment] => stdClass Object ( [inputType] => textarea [height] => 120px ) [payment.type] => stdClass Object ( ) [items] => stdClass Object ( [format] => table [options] => stdClass Object ( [disable_array_add] => [disable_array_reorder] => 1 ) ) [items.webProductCollectionMemberId] => stdClass Object ( [inputType] => hidden ) [final.termsAndConditions] => stdClass Object ( [title] => Ik ga akkoord met de <a href="/algmene-voorwaarden">algemene voorwaarden</a> ) [final.keepMeUpdated] => stdClass Object ( [title] => Ik wil graag op de hoogte gehouden worden van acties ) [final.postalInvoice] => stdClass Object ( [title] => Ik wil graag de factuur per post ontvangen (€ 1,95) ) ) 1
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/mLUq8 on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/mLUq8 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/mLUq8 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/mLUq8 on line 3