3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(json_decode('{"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":{"dirname":"\/Users\/mrjonleek\/Sites\/sonance\/v200\/public\/assets\/media\/images\/content","basename":"php.gif","extension":"gif","filename":"php"}},"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"}}'));
Output for 5.2.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
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] => stdClass Object ( [dirname] => /Users/mrjonleek/Sites/sonance/v200/public/assets/media/images/content [basename] => php.gif [extension] => gif [filename] => php ) ) [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 ) )
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/Wgns0 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/Wgns0 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/Wgns0 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/Wgns0 on line 3