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/content/Performance_0.jpg","alt":""},"tabTwoHeader":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"tabThreeHeader":{"type":"image","src":"/assets/media/images/content/Performance_0.jpg","alt":""},"tabOneTabTitle":{"type":"link","text":"Perfect Volume, Everywhere","url":"#content-tab-1"},"tabTwoTabTitle":{"type":"link","text":"Totally Camouflaged","url":"#content-tab-2"},"tabThreeTabTitle":{"type":"link","text":"Any Size Space","url":"#content-tab-3"},"tabOneFirstTitle":"Perfect quality, perfect coverage","tabOneFirstText":"<p>Sonance Landscape Series is regarded by many as the world’s best-sounding outdoor audio system. Strategically-placed satellite speakers and subwoofers encompass the perimeter of the property directing the sound towards the listening areas. &nbsp;The result is breathtaking performance and a perfect blanket of sound. The additional benefit is that the music is contained in the areas where you want it and not spilling-out and disturbing your neighbors.</p>","tabOneFirstImage":{"type":"image","src":"/assets/media/images/content/Performance_1.jpg","alt":""},"tabOneSecondTitle":"Satellite speakers","tabOneSecondText":"<p>Sonance Landscape Series satellite speakers feature all weather materials that deliver the sound quality you’d typically only expect from a high-end indoor audio system. &nbsp;With three different models in the range, there is a speaker to suit any sized space and desired volume, from ambient background music to rock concert.</p>","tabOneSecondImage":{"type":"image","src":"/assets/media/images/content/Performance_2.jpg","alt":""},"tabOneThirdTitle":"Smooth and powerful bass response","tabOneThirdText":"<p>Sonance Landscape Series utilizes 10”, 12” or 15” below-ground subwoofers to deliver smooth and powerful bass response throughout your entire garden. &nbsp;You will be enveloped in audiophile-like sound quality no matter where you are.</p>","tabOneThirdImage":{"type":"image","src":"/assets/media/images/content/Performance_3.jpg","alt":""},"tabTwoFirstTitle":"tabTwoFirstTitle","tabTwoFirstText":"<p>tabTwoFirstText</p>","tabTwoFirstImage":{"type":"image","src":"/assets/media/images/content/Installation_1.jpg","alt":""},"tabTwoSecondTitle":"tabTwoSecondTitle","tabTwoSecondText":"<p>tabTwoSecondText</p>","tabTwoSecondImage":{"type":"image","src":"/assets/media/images/content/Installation_2.jpg","alt":""},"tabTwoThirdTitle":"tabTwoThirdTitle","tabTwoThirdText":"<p>tabTwoThirdText</p>","tabTwoThirdImage":{"type":"image","src":"/assets/media/images/content/Installation_3.jpg","alt":""},"tabThreeFirstTitle":"tabThreeFirstTitle","tabThreeFirstText":"<p>tabThreeFirstText</p>","tabThreeFirstImage":{"type":"image","src":"/assets/media/images/content/Performance_1.jpg","alt":""},"tabThreeSecondTitle":"tabThreeSecondTitle","tabThreeSecondText":"<p>tabThreeSecondText</p>","tabThreeSecondImage":{"type":"image","src":"/assets/media/images/content/Performance_2.jpg","alt":""},"tabThreeThirdTitle":"tabThreeThirdTitle","tabThreeThirdText":"<p>tabThreeThirdText</p>","tabThreeThirdImage":{"type":"image","src":"/assets/media/images/content/Performance_3.jpg","alt":""},"bottomImage":{"type":"image","src":"/assets/media/images/placeholder.gif","alt":"Drag Image to Replace"},"active":1},"meta":{"description":"","author":"","keywords":"","title":"Sonance Landscape Series"},"params":{"product":{"category_id":"30"}},"route":{"url":"/outdoor/sonance-landscape-series"},"product":{"specs":{},"media":{}},"group":{"media":{}}}'));
Output for 5.2.0 - 5.6.21, 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/content/Performance_0.jpg [alt] => ) [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/content/Performance_0.jpg [alt] => ) [tabOneTabTitle] => stdClass Object ( [type] => link [text] => Perfect Volume, Everywhere [url] => #content-tab-1 ) [tabTwoTabTitle] => stdClass Object ( [type] => link [text] => Totally Camouflaged [url] => #content-tab-2 ) [tabThreeTabTitle] => stdClass Object ( [type] => link [text] => Any Size Space [url] => #content-tab-3 ) [tabOneFirstTitle] => Perfect quality, perfect coverage [tabOneFirstText] => <p>Sonance Landscape Series is regarded by many as the world’s best-sounding outdoor audio system. Strategically-placed satellite speakers and subwoofers encompass the perimeter of the property directing the sound towards the listening areas. &nbsp;The result is breathtaking performance and a perfect blanket of sound. The additional benefit is that the music is contained in the areas where you want it and not spilling-out and disturbing your neighbors.</p> [tabOneFirstImage] => stdClass Object ( [type] => image [src] => /assets/media/images/content/Performance_1.jpg [alt] => ) [tabOneSecondTitle] => Satellite speakers [tabOneSecondText] => <p>Sonance Landscape Series satellite speakers feature all weather materials that deliver the sound quality you’d typically only expect from a high-end indoor audio system. &nbsp;With three different models in the range, there is a speaker to suit any sized space and desired volume, from ambient background music to rock concert.</p> [tabOneSecondImage] => stdClass Object ( [type] => image [src] => /assets/media/images/content/Performance_2.jpg [alt] => ) [tabOneThirdTitle] => Smooth and powerful bass response [tabOneThirdText] => <p>Sonance Landscape Series utilizes 10”, 12” or 15” below-ground subwoofers to deliver smooth and powerful bass response throughout your entire garden. &nbsp;You will be enveloped in audiophile-like sound quality no matter where you are.</p> [tabOneThirdImage] => stdClass Object ( [type] => image [src] => /assets/media/images/content/Performance_3.jpg [alt] => ) [tabTwoFirstTitle] => tabTwoFirstTitle [tabTwoFirstText] => <p>tabTwoFirstText</p> [tabTwoFirstImage] => stdClass Object ( [type] => image [src] => /assets/media/images/content/Installation_1.jpg [alt] => ) [tabTwoSecondTitle] => tabTwoSecondTitle [tabTwoSecondText] => <p>tabTwoSecondText</p> [tabTwoSecondImage] => stdClass Object ( [type] => image [src] => /assets/media/images/content/Installation_2.jpg [alt] => ) [tabTwoThirdTitle] => tabTwoThirdTitle [tabTwoThirdText] => <p>tabTwoThirdText</p> [tabTwoThirdImage] => stdClass Object ( [type] => image [src] => /assets/media/images/content/Installation_3.jpg [alt] => ) [tabThreeFirstTitle] => tabThreeFirstTitle [tabThreeFirstText] => <p>tabThreeFirstText</p> [tabThreeFirstImage] => stdClass Object ( [type] => image [src] => /assets/media/images/content/Performance_1.jpg [alt] => ) [tabThreeSecondTitle] => tabThreeSecondTitle [tabThreeSecondText] => <p>tabThreeSecondText</p> [tabThreeSecondImage] => stdClass Object ( [type] => image [src] => /assets/media/images/content/Performance_2.jpg [alt] => ) [tabThreeThirdTitle] => tabThreeThirdTitle [tabThreeThirdText] => <p>tabThreeThirdText</p> [tabThreeThirdImage] => stdClass Object ( [type] => image [src] => /assets/media/images/content/Performance_3.jpg [alt] => ) [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] => Sonance Landscape Series ) [params] => stdClass Object ( [product] => stdClass Object ( [category_id] => 30 ) ) [route] => stdClass Object ( [url] => /outdoor/sonance-landscape-series ) [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/6H27C 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/6H27C 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/6H27C 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/6H27C on line 3