3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(json_decode('{"page":{"homeSlideshow":{"type":"slideshow","slides":[{"src":"/assets/media/images/tmp/jNQn3z4g/iw-ic-home-slide.jpg","alt":"","caption":"In-Wall & In-Ceiling Speakers"},{"src":"/assets/media/images/tmp/eMWTgiKx/outdoor-slide.jpg","alt":"","caption":"Outdoor Speakers"},{"src":"/assets/media/images/tmp/DK2uLRo0/surround-slide.jpg","alt":"","caption":"Home Theater"}]},"homeBucketImageOne":{"type":"image","src":"/assets/media/images/content/dana-logos.png","alt":"iPort | Sonance | TRUFIG"},"homeBucketTextOne":"<p>Who is Dana Innovations?</p>","homeBucketImageTwo":{"type":"image","src":"/assets/media/images/content/vp-icon.png","alt":"iPort | Sonance | TRUFIG"},"homeBucketTextTwo":"<p>Next Gen Visual Performance Series</p>","homeBucketImageThree":{"type":"image","src":"/assets/media/images/content/soundbar-icon.png","alt":"iPort | Sonance | TRUFIG"},"homeBucketTextThree":"<p>World\'s First Adjustable Soundbar</p>","homeBucketImageFour":{"type":"image","src":"/assets/media/images/content/sls-icon.png","alt":"iPort | Sonance | TRUFIG"},"homeBucketTextFour":"<p>Outdoor Speaker System</p>","active":1},"meta":{"description":"Test","author":"","keywords":"Test","title":"In-Wall & In-Ceiling"},"params":{},"route":{"url":"/"},"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 ( [homeSlideshow] => stdClass Object ( [type] => slideshow [slides] => Array ( [0] => stdClass Object ( [src] => /assets/media/images/tmp/jNQn3z4g/iw-ic-home-slide.jpg [alt] => [caption] => In-Wall & In-Ceiling Speakers ) [1] => stdClass Object ( [src] => /assets/media/images/tmp/eMWTgiKx/outdoor-slide.jpg [alt] => [caption] => Outdoor Speakers ) [2] => stdClass Object ( [src] => /assets/media/images/tmp/DK2uLRo0/surround-slide.jpg [alt] => [caption] => Home Theater ) ) ) [homeBucketImageOne] => stdClass Object ( [type] => image [src] => /assets/media/images/content/dana-logos.png [alt] => iPort | Sonance | TRUFIG ) [homeBucketTextOne] => <p>Who is Dana Innovations?</p> [homeBucketImageTwo] => stdClass Object ( [type] => image [src] => /assets/media/images/content/vp-icon.png [alt] => iPort | Sonance | TRUFIG ) [homeBucketTextTwo] => <p>Next Gen Visual Performance Series</p> [homeBucketImageThree] => stdClass Object ( [type] => image [src] => /assets/media/images/content/soundbar-icon.png [alt] => iPort | Sonance | TRUFIG ) [homeBucketTextThree] => <p>World's First Adjustable Soundbar</p> [homeBucketImageFour] => stdClass Object ( [type] => image [src] => /assets/media/images/content/sls-icon.png [alt] => iPort | Sonance | TRUFIG ) [homeBucketTextFour] => <p>Outdoor Speaker System</p> [active] => 1 ) [meta] => stdClass Object ( [description] => Test [author] => [keywords] => Test [title] => In-Wall & In-Ceiling ) [params] => stdClass Object ( ) [route] => stdClass Object ( [url] => / ) [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/OFJSQ 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/OFJSQ 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/OFJSQ 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/OFJSQ on line 3