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/content/In-Wall_In-Ceiling_Pic.jpg","alt":"","caption":"In-Wall & In-Ceiling Speakers"},{"src":"/assets/media/images/content/Outdoor_Pic.jpg","alt":"","caption":"Outdoor Speakers"},{"src":"/assets/media/images/content/Surround_Sound_Pic_1.jpg","alt":"","caption":"Home Theater"}]},"homeBucketImageOne":{"type":"image","src":"/assets/media/images/content/dana-logos.png","alt":"iPort | Sonance | TRUFIG","link":"/company","target":"_self"},"homeBucketTextOne":{"content":"<p>Who is Dana5 Innovations?</p>","images":[],"files":[]},"homeBucketImageTwo":{"type":"image","src":"/assets/media/images/content/vp-icon.jpg","alt":"Visual Performance","link":"/in-wall-in-ceiling/visual-performance","target":"_self"},"homeBucketTextTwo":{"content":"<p>Next Gen Visual Performance Series</p>","images":[],"files":[]},"homeBucketImageThree":{"type":"image","src":"/assets/media/images/content/soundbar-icon.jpg","alt":"Soundbar","link":"/home-theater/soundbar","target":"_self"},"homeBucketTextThree":{"content":"<p>World\'s First Adjustable Soundbar</p>","images":[],"files":[]},"homeBucketImageFour":{"type":"image","src":"/assets/media/images/content/sls-icon.jpg","alt":"Outdoor Speaker System","link":"/outdoor","target":"_self"},"homeBucketTextFour":{"content":"<p>Outdoor Speaker System</p>","images":[],"files":[]},"active":1},"meta":{"description":"","author":"","keywords":"","title":"Sonance"},"params":{},"route":{"url":"/"},"product":{"specs":{},"media":{}},"group":{"media":{}}}'));
Output for 5.2.0 - 7.1.0
stdClass Object ( [page] => stdClass Object ( [homeSlideshow] => stdClass Object ( [type] => slideshow [slides] => Array ( [0] => stdClass Object ( [src] => /assets/media/images/content/In-Wall_In-Ceiling_Pic.jpg [alt] => [caption] => In-Wall & In-Ceiling Speakers ) [1] => stdClass Object ( [src] => /assets/media/images/content/Outdoor_Pic.jpg [alt] => [caption] => Outdoor Speakers ) [2] => stdClass Object ( [src] => /assets/media/images/content/Surround_Sound_Pic_1.jpg [alt] => [caption] => Home Theater ) ) ) [homeBucketImageOne] => stdClass Object ( [type] => image [src] => /assets/media/images/content/dana-logos.png [alt] => iPort | Sonance | TRUFIG [link] => /company [target] => _self ) [homeBucketTextOne] => stdClass Object ( [content] => <p>Who is Dana5 Innovations?</p> [images] => Array ( ) [files] => Array ( ) ) [homeBucketImageTwo] => stdClass Object ( [type] => image [src] => /assets/media/images/content/vp-icon.jpg [alt] => Visual Performance [link] => /in-wall-in-ceiling/visual-performance [target] => _self ) [homeBucketTextTwo] => stdClass Object ( [content] => <p>Next Gen Visual Performance Series</p> [images] => Array ( ) [files] => Array ( ) ) [homeBucketImageThree] => stdClass Object ( [type] => image [src] => /assets/media/images/content/soundbar-icon.jpg [alt] => Soundbar [link] => /home-theater/soundbar [target] => _self ) [homeBucketTextThree] => stdClass Object ( [content] => <p>World's First Adjustable Soundbar</p> [images] => Array ( ) [files] => Array ( ) ) [homeBucketImageFour] => stdClass Object ( [type] => image [src] => /assets/media/images/content/sls-icon.jpg [alt] => Outdoor Speaker System [link] => /outdoor [target] => _self ) [homeBucketTextFour] => stdClass Object ( [content] => <p>Outdoor Speaker System</p> [images] => Array ( ) [files] => Array ( ) ) [active] => 1 ) [meta] => stdClass Object ( [description] => [author] => [keywords] => [title] => Sonance ) [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/mU69b 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/mU69b 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/mU69b 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/mU69b on line 3