3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r( json_decode('[ { "SMALL ROUND FLEX BRACKET (5 PAIR PER BOX)": { "src": "/assets/media/images/groups/accessories/Medium_Round_FlexBracket_92337.jpg", "alt": "SMALL ROUND FLEX BRACKET (5 PAIR PER BOX)", "link": "" } }, { "FIRE-RATED LISTED DEEP BACKCAN (ROUND)": { "src": "/assets/media/images/groups/accessories/Fire-Rated_Listed_Deep_Backcan_92808_frt.jpg", "alt": "FIRE-RATED LISTED DEEP BACKCAN (ROUND)", "link": "" } }, { "VP4SQ SQUARE ADAPTER W/ GRILLE (Grille not compatible with legacy models)": { "src": "/assets/media/images/groups/accessories/Square_Adapter_-_Grille.jpg", "alt": "VP4SQ SQUARE ADAPTER W/ GRILLE (Grille not compatible with legacy models)", "link": "" } }, { "VP4SQ SQUARE ADAPTER W/ GRILLE (5 PAIR BULK PACK) (Grille not compatible with legacy models)": { "src": "/assets/media/images/groups/accessories/Square_Adapter_-_Grille.jpg", "alt": "VP4SQ SQUARE ADAPTER W/ GRILLE (5 PAIR BULK PACK) (Grille not compatible with legacy models)", "link": "" } }, { "SMALL ROUND RETROFIT ENCLOSURE": { "src": "/assets/media/images/groups/accessories/Medium_Round_Retrofit_Enclosure_92343.jpg", "alt": "SMALL ROUND RETROFIT ENCLOSURE", "link": "" } } ] '));
Output for 5.2.0 - 7.1.0
Array ( [0] => stdClass Object ( [SMALL ROUND FLEX BRACKET (5 PAIR PER BOX)] => stdClass Object ( [src] => /assets/media/images/groups/accessories/Medium_Round_FlexBracket_92337.jpg [alt] => SMALL ROUND FLEX BRACKET (5 PAIR PER BOX) [link] => ) ) [1] => stdClass Object ( [FIRE-RATED LISTED DEEP BACKCAN (ROUND)] => stdClass Object ( [src] => /assets/media/images/groups/accessories/Fire-Rated_Listed_Deep_Backcan_92808_frt.jpg [alt] => FIRE-RATED LISTED DEEP BACKCAN (ROUND) [link] => ) ) [2] => stdClass Object ( [VP4SQ SQUARE ADAPTER W/ GRILLE (Grille not compatible with legacy models)] => stdClass Object ( [src] => /assets/media/images/groups/accessories/Square_Adapter_-_Grille.jpg [alt] => VP4SQ SQUARE ADAPTER W/ GRILLE (Grille not compatible with legacy models) [link] => ) ) [3] => stdClass Object ( [VP4SQ SQUARE ADAPTER W/ GRILLE (5 PAIR BULK PACK) (Grille not compatible with legacy models)] => stdClass Object ( [src] => /assets/media/images/groups/accessories/Square_Adapter_-_Grille.jpg [alt] => VP4SQ SQUARE ADAPTER W/ GRILLE (5 PAIR BULK PACK) (Grille not compatible with legacy models) [link] => ) ) [4] => stdClass Object ( [SMALL ROUND RETROFIT ENCLOSURE] => stdClass Object ( [src] => /assets/media/images/groups/accessories/Medium_Round_Retrofit_Enclosure_92343.jpg [alt] => SMALL ROUND RETROFIT ENCLOSURE [link] => ) ) )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/73nnI 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/73nnI 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/73nnI 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/73nnI on line 3