3v4l.org

run code in 300+ PHP versions simultaneously
<?php $text = '{\"Result\":{\"IsOk\":true,\"ErrorMessage\":\"\"},\"BillingID\":3034653,\"CustomerNr\":null,\"CampaignNr\":\"M1600-22\",\"CustomerAddress\":{\"CountryName\":\"Canada\",\"LanguageCode\":\"en\",\"Company\":null,\"Title\":\"Mr.\",\"Firstname\":\"Louis\",\"Lastname\":\"Richard\",\"AdditionalName\":\"\",\"Street\":\"4234 Highway 357 \",\"AdditionalStreet1\":\"\",\"AdditionalStreet2\":\"\",\"AdditionalStreet3\":\"\",\"AdditionalStreet4\":\"\",\"PoBox\":\"\",\"Zip\":\"B0N 1V0\",\"Area\":\"NS\",\"City\":\"Meaghers Grant\"},\"MerchantAddress\":{\"CountryName\":\"Canada\",\"LanguageCode\":\"en\",\"Company\":\"Maître Ritter Int.\",\"Title\":null,\"Firstname\":null,\"Lastname\":null,\"AdditionalName\":null,\"Street\":null,\"AdditionalStreet1\":null,\"AdditionalStreet2\":null,\"AdditionalStreet3\":null,\"AdditionalStreet4\":null,\"PoBox\":\"Postbus 202\",\"Zip\":\"3720 AE\",\"Area\":\"AE\",\"City\":\"Bilthoven\"}}'; echo json_decode(stripslashes($text), true );
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
Warning: Array to string conversion in /in/UK5oU on line 6 Array
Output for 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.38, 7.0.0 - 7.0.33, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.25, 7.4.27 - 7.4.33
Notice: Array to string conversion in /in/UK5oU on line 6 Array
Output for 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 7.3.32 - 7.3.33, 7.4.26
Array
Output for 5.0.0 - 5.0.5, 5.1.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/UK5oU on line 6
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/UK5oU on line 6
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/UK5oU on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/UK5oU on line 6

preferences:
255.08 ms | 401 KiB | 420 Q