3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode('{ "_id": null, "guid": "b3033ba8c8769b7f2b44ff41b8ac4c2238ae1f2c", "ref": "25", "meta": { "formHash": "b14eed1c0c1c3a35ee77253160bc77192122538a", "eventId": "34", "softwareHash": "319866957227a2df8c10abb25adc1f28ce3451d9", "groupSoftwareHash": "47c53042c3e8ab462500dbd091678efa54469c46", "groupHash": "bf1baf99f5113ab8849854744e8f1214e801a671", "franchiseHash": "d07f2bb8b50537d858c4101d87e605c9096e74fc", "locationHash": "502f1fcd41e889a84435abe6eeb05232261250bf", "locale": "en_GB" }, "form": { "hash": "b14eed1c0c1c3a35ee77253160bc77192122538a", "event": { "id": "34", "name": "Used Vehicle Offer Enquiry" }, "event_analytics": { "id": "34", "name": "Used Vehicle Offer Enquiry" }, "fieldsets": [ { "type": 1, "translation": null, "elements": [ { "access": 1, "type": 1, "element": { "type": "1", "name": "enquiry[offer_url]", "value": null, "is_checked": false, "is_required": true, "translation": { "language": "en_GB", "label": "Offer URL", "value": null, "placeholder": null }, "validation": null, "option_groups": [ ] } } ] }, { "type": 1, "translation": null, "elements": [ { "access": 1, "type": 1, "element": { "type": "10", "name": "customer[title]", "value": null, "is_checked": false, "is_required": true, "translation": { "language": "en_GB", "label": "Title", "value": null, "placeholder": null }, "validation": null, "option_groups": [ { "type": "100", "translation": null, "options": [ { "translation": { "language": "en_GB", "label": "Mr", "value": "Mr", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Mrs", "value": "Mrs", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Miss", "value": "Miss", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Dr", "value": "Dr", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Prof", "value": "Prof", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Sir", "value": "Sir", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Hon", "value": "Hon", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Rev", "value": "Rev", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Lord", "value": "Lord", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Lady", "value": "Lady", "placeholder": null } } ] } ] } } ] }, { "type": 1, "translation": null, "elements": [ { "access": 1, "type": 1, "element": { "type": "2", "name": "customer[first_name]", "value": null, "is_checked": false, "is_required": true, "translation": { "language": "en_GB", "label": "First Name", "value": null, "placeholder": null }, "validation": { "validation_regex": "", "validation_message": "COMMON_ENQUIRY_ERROR_VALIDATION_REQUIRED" }, "option_groups": [ ] } } ] }, { "type": 1, "translation": null, "elements": [ { "access": 1, "type": 1, "element": { "type": "2", "name": "customer[last_name]", "value": null, "is_checked": false, "is_required": true, "translation": { "language": "en_GB", "label": "Last Name", "value": null, "placeholder": null }, "validation": { "validation_regex": "", "validation_message": "COMMON_ENQUIRY_ERROR_VALIDATION_REQUIRED" }, "option_groups": [ ] } } ] }, { "type": 1, "translation": null, "elements": [ { "access": 1, "type": 1, "element": { "type": "2", "name": "customer[email]", "value": null, "is_checked": false, "is_required": true, "translation": { "language": "en_GB", "label": "Email Address", "value": null, "placeholder": null }, "validation": { "validation_regex": "\/^[a-z0-9._%+-]+@[A-Z0-9.-]+\\.[a-z]{2,4}$\/i", "validation_message": "COMMON_ENQUIRY_ERROR_VALIDATION_REQUIRED" }, "option_groups": [ ] } } ] }, { "type": 1, "translation": null, "elements": [ { "access": 1, "type": 1, "element": { "type": "10", "name": "customer[phone_type]", "value": null, "is_checked": false, "is_required": true, "translation": { "language": "en_GB", "label": "Phone Type", "value": null, "placeholder": null }, "validation": null, "option_groups": [ { "type": "101", "translation": null, "options": [ { "translation": { "language": "en_GB", "label": "Home", "value": "Home", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Mobile", "value": "Mobile", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Work", "value": "Work", "placeholder": null } }, { "translation": { "language": "en_GB", "label": "Other", "value": "Other", "placeholder": null } } ] } ] } }, { "access": 1, "type": 1, "element": { "type": "2", "name": "customer[phone_number]", "value": null, "is_checked": false, "is_required": true, "translation": { "language": "en_GB", "label": "Telephone", "value": null, "placeholder": null }, "validation": { "validation_regex": "\/^(?=.*[1-9])([+-0123456789().,#*;\\s]{8})\/", "validation_message": "COMMON_ENQUIRY_ERROR_VALIDATION_REQUIRED" }, "option_groups": [ ] } } ] }, { "type": 1, "translation": null, "elements": [ { "access": 1, "type": 1, "element": { "type": "10", "name": "enquiry[location][hash]", "value": null, "is_checked": false, "is_required": true, "translation": { "language": "en_GB", "label": "Location", "value": null, "placeholder": null }, "validation": null, "option_groups": [ { "type": "2", "translation": null, "options": [ ] } ] } } ] }, { "type": 1, "translation": null, "elements": [ { "access": 1, "type": 1, "element": { "type": "3", "name": "enquiry[message]", "value": null, "is_checked": false, "is_required": false, "translation": { "language": "en_GB", "label": "Enquiry Details", "value": null, "placeholder": null }, "validation": null, "option_groups": [ ] } } ] }, { "type": 201, "translation": null, "elements": [ { "access": 1, "type": 1, "element": { "type": 20, "name": "marketing[global]", "value": 1, "is_checked": false, "is_required": false, "translation": { "language": "en_GB", "label": "Please send me promotional emails about future offers and services", "value": null, "placeholder": null }, "validation": null, "option_groups": [ ] } } ] }, { "type": 1, "translation": null, "elements": [ { "access": 1, "type": 1, "element": { "type": "1", "name": "enquiry[referring_url]", "value": null, "is_checked": false, "is_required": false, "translation": { "language": "en_GB", "label": "Referring URL", "value": null, "placeholder": null }, "validation": null, "option_groups": [ ] } } ] } ], "values": [ ] }, "values": { "customer[title]": "Mr", "customer[first_name]": "Mary", "customer[last_name]": "Ratliff", "customer[email]": "blackhole@gforces.co.uk", "customer[phone_type]": "Home", "customer[phone_number]": "01732 481095", "enquiry[offer_url]": "http:\/\/www.gforces.co.uk\/fake\/a-offer-url", "enquiry[location][hash]": "502f1fcd41e889a84435abe6eeb05232261250bf", "enquiry[message]": "This is an automated test script, please consider this a test. Used Vehicle Offer Enquiry Lorem ipsum dolor sit amet, consectetur adipiscing elit. Mauris ac convallis lacus, sit amet pellentesque metus. Pellentesque id lorem posuere enim feugiat fermentum. Integer tristique mollis magna in feugiat. Aliquam erat volutpat.", "enquiry[referring_url]": "http:\/\/www.gforces.co.uk\/referring-fake", "marketing[global]": "0" }, "creationDate": "2014-12-19 15:12:41" }'));
Output for 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 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.6
NULL
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/QUfN7 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/QUfN7 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/QUfN7 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/QUfN7 on line 3

preferences:
339.73 ms | 401 KiB | 459 Q