3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(json_decode('{"headerImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Large_Rec_Visual_Performance_Top_Shot.jpg","alt":"Large Rectangle"},"heroImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Large_Rec_Visual_Performance_Hero.jpg","alt":"Large Rectangle"},"sharedSpecsImage":{"type":"image","src":"\/assets\/media\/images\/groups\/Large_Rectangle","alt":"Large Rectangle"},"bottomImage":{"type":"image","src":"\/assets\/media\/images\/groups\/VP_Install.jpg","alt":"Large Rectangle"},"sliderImage":{"type":"image","src":"\/assets\/media\/images\/groups\/sliders\/Large_Rectangle_Icon.png","alt":"High performance in-wall 3-way speakers for high volume levels and maximum bass"}}'));
Output for 5.2.0 - 7.1.0
stdClass Object ( [headerImage] => stdClass Object ( [type] => image [src] => /assets/media/images/groups/Large_Rec_Visual_Performance_Top_Shot.jpg [alt] => Large Rectangle ) [heroImage] => stdClass Object ( [type] => image [src] => /assets/media/images/groups/Large_Rec_Visual_Performance_Hero.jpg [alt] => Large Rectangle ) [sharedSpecsImage] => stdClass Object ( [type] => image [src] => /assets/media/images/groups/Large_Rectangle [alt] => Large Rectangle ) [bottomImage] => stdClass Object ( [type] => image [src] => /assets/media/images/groups/VP_Install.jpg [alt] => Large Rectangle ) [sliderImage] => stdClass Object ( [type] => image [src] => /assets/media/images/groups/sliders/Large_Rectangle_Icon.png [alt] => High performance in-wall 3-way speakers for high volume levels and maximum bass ) )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/GgNfL 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/GgNfL 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/GgNfL 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/GgNfL on line 3