3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r( json_decode('{"page":{"titleBar":"Page Title","topSlideshow":{"type":"slideshow","slides":[{"src":"/assets/media/images/tmp/ZudOcVYr/Test_2.jpg"},{"src":"/assets/media/images/tmp/af0kw2cq/Test_1.jpg"}]},"topTitle":"Slideshow","topText":"<p>topText</p>","parallaxZero":{"type":"parallax","src":"/assets/media/images/tmp/TgG4fpQE/Test_P_1.jpg","width":1600,"height":900},"sectionOneTitle":"sectionOneTitle","sectionOneText":"<p>sectionOneText</p>","sectionOneMoreLink":{"type":"link","text":"Enter Text","url":"#","target":"_self"},"sectionTwoTitle":"sectionTwoTitle","sectionTwoText":"<p>sectionTwoText</p>","sectionTwoMoreLink":{"type":"link","text":"Enter Text","url":"#","target":"_self"},"active":1},"meta":{"description":"","author":"","keywords":"","title":""},"params":{},"route":{"url":"/test"},"product":{"specs":{},"media":{}},"group":{"media":{}}} '));
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
stdClass Object ( [page] => stdClass Object ( [titleBar] => Page Title [topSlideshow] => stdClass Object ( [type] => slideshow [slides] => Array ( [0] => stdClass Object ( [src] => /assets/media/images/tmp/ZudOcVYr/Test_2.jpg ) [1] => stdClass Object ( [src] => /assets/media/images/tmp/af0kw2cq/Test_1.jpg ) ) ) [topTitle] => Slideshow [topText] => <p>topText</p> [parallaxZero] => stdClass Object ( [type] => parallax [src] => /assets/media/images/tmp/TgG4fpQE/Test_P_1.jpg [width] => 1600 [height] => 900 ) [sectionOneTitle] => sectionOneTitle [sectionOneText] => <p>sectionOneText</p> [sectionOneMoreLink] => stdClass Object ( [type] => link [text] => Enter Text [url] => # [target] => _self ) [sectionTwoTitle] => sectionTwoTitle [sectionTwoText] => <p>sectionTwoText</p> [sectionTwoMoreLink] => stdClass Object ( [type] => link [text] => Enter Text [url] => # [target] => _self ) [active] => 1 ) [meta] => stdClass Object ( [description] => [author] => [keywords] => [title] => ) [params] => stdClass Object ( ) [route] => stdClass Object ( [url] => /test ) [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/6iPHQ 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/6iPHQ 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/6iPHQ 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/6iPHQ on line 3