3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r( json_decode('{"page":{"titleBar":"Page Title","topMedia":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"topTitle":"topTitl","topText":"<p>topText</p>","parallaxZero":{"type":"parallax","src":"/1600x900","width":1600,"height":900},"sectionOneMedia":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"sectionOneTitle":"sectionOneTitle","sectionOneText":"<p>sectionOneText</p>","sectionOneMoreLink":{"type":"link","text":"Enter Text","url":"#"},"parallaxOne":{"type":"parallax","src":"/1600x900","width":1600,"height":900},"sectionTwoMedia":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"sectionTwoTitle":"sectionTwoTitle","sectionTwoText":"<p>sectionTwoText</p>","sectionTwoMoreLink":{"type":"link","text":"Enter Text","url":"#"},"parallaxTwo":{"type":"parallax","src":"/1600x900","width":1600,"height":900},"sectionThreeMedia":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"sectionThreeTitle":"sectionThreeTitle","sectionThreeText":"<p>sectionThreeText</p>","sectionThreeMoreLink":{"type":"link","text":"Enter Text","url":"#"},"parallaxThree":{"type":"parallax","src":"/1600x900","width":1600,"height":900},"active":1},"meta":{"description":"","author":"","keywords":"","title":""},"params":{},"route":{"url":"/electronics"},"product":{"specs":{},"media":{}},"group":{"media":{}}}'));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
stdClass Object ( [page] => stdClass Object ( [titleBar] => Page Title [topMedia] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [topTitle] => topTitl [topText] => <p>topText</p> [parallaxZero] => stdClass Object ( [type] => parallax [src] => /1600x900 [width] => 1600 [height] => 900 ) [sectionOneMedia] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [sectionOneTitle] => sectionOneTitle [sectionOneText] => <p>sectionOneText</p> [sectionOneMoreLink] => stdClass Object ( [type] => link [text] => Enter Text [url] => # ) [parallaxOne] => stdClass Object ( [type] => parallax [src] => /1600x900 [width] => 1600 [height] => 900 ) [sectionTwoMedia] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [sectionTwoTitle] => sectionTwoTitle [sectionTwoText] => <p>sectionTwoText</p> [sectionTwoMoreLink] => stdClass Object ( [type] => link [text] => Enter Text [url] => # ) [parallaxTwo] => stdClass Object ( [type] => parallax [src] => /1600x900 [width] => 1600 [height] => 900 ) [sectionThreeMedia] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [sectionThreeTitle] => sectionThreeTitle [sectionThreeText] => <p>sectionThreeText</p> [sectionThreeMoreLink] => stdClass Object ( [type] => link [text] => Enter Text [url] => # ) [parallaxThree] => stdClass Object ( [type] => parallax [src] => /1600x900 [width] => 1600 [height] => 900 ) [active] => 1 ) [meta] => stdClass Object ( [description] => [author] => [keywords] => [title] => ) [params] => stdClass Object ( ) [route] => stdClass Object ( [url] => /electronics ) [product] => stdClass Object ( [specs] => stdClass Object ( ) [media] => stdClass Object ( ) ) [group] => stdClass Object ( [media] => stdClass Object ( ) ) )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/X4LgJ 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/X4LgJ 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/X4LgJ 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/X4LgJ on line 3