3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(json_decode('{"page":{"topMedia":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"topTitle":"topTitle","topText":"<p>topText</p>","tabOneHeader":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabTwoHeader":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabThreeHeader":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabOneTabTitle":{"type":"link","text":"Sound quality","url":"#content-tab-1"},"tabTwoTabTitle":{"type":"link","text":"Sleek & minimalistic","url":"#content-tab-2"},"tabThreeTabTitle":{"type":"link","text":"Perfect results","url":"#content-tab-3"},"tabOneFirstTitle":"tabOneFirstTitle","tabOneFirstText":"<p>tabOneFirstText</p>","tabOneFirstImage":{"type":"image","src":"/assets/media/images/tmp/20c3PGCf/php.gif"},"tabOneSecondTitle":"tabOneSecondTitle","tabOneSecondText":"<p>tabOneSecondText</p>","tabOneSecondImage":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabOneThirdTitle":"tabOneThirdTitle","tabOneThirdText":"<p>tabOneThirdText</p>","tabOneThirdImage":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabTwoFirstTitle":"tabTwoFirstTitle","tabTwoFirstText":"<p>tabTwoFirstText</p>","tabTwoFirstImage":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabTwoSecondTitle":"tabTwoSecondTitle","tabTwoSecondText":"<p>tabTwoSecondText</p>","tabTwoSecondImage":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabTwoThirdTitle":"tabTwoThirdTitle","tabTwoThirdText":"<p>tabTwoThirdText</p>","tabTwoThirdImage":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabThreeFirstTitle":"tabThreeFirstTitle","tabThreeFirstText":"<p>tabThreeFirstText</p>","tabThreeFirstImage":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabThreeSecondTitle":"tabThreeSecondTitle","tabThreeSecondText":"<p>tabThreeSecondText</p>","tabThreeSecondImage":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabThreeThirdTitle":"tabThreeThirdTitle","tabThreeThirdText":"<p>tabThreeThirdText</p>","tabThreeThirdImage":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"bottomImage":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"active":1},"meta":{"description":"","author":"","keywords":"","title":"Speakers Selectors / Volume Controls"},"params":{"product":{"category_id":"52"}},"route":{"url":"/electronics/speakers-selectors-volume-controls"},"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 ( [topMedia] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [topTitle] => topTitle [topText] => <p>topText</p> [tabOneHeader] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [tabTwoHeader] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [tabThreeHeader] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [tabOneTabTitle] => stdClass Object ( [type] => link [text] => Sound quality [url] => #content-tab-1 ) [tabTwoTabTitle] => stdClass Object ( [type] => link [text] => Sleek & minimalistic [url] => #content-tab-2 ) [tabThreeTabTitle] => stdClass Object ( [type] => link [text] => Perfect results [url] => #content-tab-3 ) [tabOneFirstTitle] => tabOneFirstTitle [tabOneFirstText] => <p>tabOneFirstText</p> [tabOneFirstImage] => stdClass Object ( [type] => image [src] => /assets/media/images/tmp/20c3PGCf/php.gif ) [tabOneSecondTitle] => tabOneSecondTitle [tabOneSecondText] => <p>tabOneSecondText</p> [tabOneSecondImage] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [tabOneThirdTitle] => tabOneThirdTitle [tabOneThirdText] => <p>tabOneThirdText</p> [tabOneThirdImage] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [tabTwoFirstTitle] => tabTwoFirstTitle [tabTwoFirstText] => <p>tabTwoFirstText</p> [tabTwoFirstImage] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [tabTwoSecondTitle] => tabTwoSecondTitle [tabTwoSecondText] => <p>tabTwoSecondText</p> [tabTwoSecondImage] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [tabTwoThirdTitle] => tabTwoThirdTitle [tabTwoThirdText] => <p>tabTwoThirdText</p> [tabTwoThirdImage] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [tabThreeFirstTitle] => tabThreeFirstTitle [tabThreeFirstText] => <p>tabThreeFirstText</p> [tabThreeFirstImage] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [tabThreeSecondTitle] => tabThreeSecondTitle [tabThreeSecondText] => <p>tabThreeSecondText</p> [tabThreeSecondImage] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [tabThreeThirdTitle] => tabThreeThirdTitle [tabThreeThirdText] => <p>tabThreeThirdText</p> [tabThreeThirdImage] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [bottomImage] => stdClass Object ( [type] => image [src] => /assets/media/images/placeholder.gif [alt] => Drag Image to Replace ) [active] => 1 ) [meta] => stdClass Object ( [description] => [author] => [keywords] => [title] => Speakers Selectors / Volume Controls ) [params] => stdClass Object ( [product] => stdClass Object ( [category_id] => 52 ) ) [route] => stdClass Object ( [url] => /electronics/speakers-selectors-volume-controls ) [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/FWaDl 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/FWaDl 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/FWaDl 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/FWaDl on line 3