3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r( json_decode('[{"SONAMP 875D SE MKII":{"type":"image","src":"\/assets\/media\/images\/products\/92804_frt.jpg","link":"electronics\/amplifiers\/sonamp-875d-mkii"}},{"SONAMP 875D SE MKII 230V":{"type":"image","src":"\/assets\/media\/images\/products\/92804_frt.jpg","link":"electronics\/amplifiers\/sonamp-875d-mkii"}},{"SONAMP 1230":{"type":"image","src":"\/assets\/media\/images\/products\/91779_frt.jpg","link":"electronics\/amplifiers\/sonamp-1230"}},{"SONAMP 1230 (230V)":{"type":"image","src":"\/assets\/media\/images\/products\/91779_frt.jpg","link":"electronics\/amplifiers\/sonamp-1230"}},{"SONAMP 275 SE":{"type":"image","src":"\/assets\/media\/images\/products\/92187_frt.jpg","link":"electronics\/amplifiers\/sonamp-275-amplifiers"}},{"SONAMP 275 SE (230V)":{"type":"image","src":"\/assets\/media\/images\/products\/92187_frt.jpg","link":"electronics\/amplifiers\/sonamp-275-amplifiers"}}]'));
Output for 5.2.0 - 5.6.21, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Array ( [0] => stdClass Object ( [SONAMP 875D SE MKII] => stdClass Object ( [type] => image [src] => /assets/media/images/products/92804_frt.jpg [link] => electronics/amplifiers/sonamp-875d-mkii ) ) [1] => stdClass Object ( [SONAMP 875D SE MKII 230V] => stdClass Object ( [type] => image [src] => /assets/media/images/products/92804_frt.jpg [link] => electronics/amplifiers/sonamp-875d-mkii ) ) [2] => stdClass Object ( [SONAMP 1230] => stdClass Object ( [type] => image [src] => /assets/media/images/products/91779_frt.jpg [link] => electronics/amplifiers/sonamp-1230 ) ) [3] => stdClass Object ( [SONAMP 1230 (230V)] => stdClass Object ( [type] => image [src] => /assets/media/images/products/91779_frt.jpg [link] => electronics/amplifiers/sonamp-1230 ) ) [4] => stdClass Object ( [SONAMP 275 SE] => stdClass Object ( [type] => image [src] => /assets/media/images/products/92187_frt.jpg [link] => electronics/amplifiers/sonamp-275-amplifiers ) ) [5] => stdClass Object ( [SONAMP 275 SE (230V)] => stdClass Object ( [type] => image [src] => /assets/media/images/products/92187_frt.jpg [link] => electronics/amplifiers/sonamp-275-amplifiers ) ) )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/Hqjku 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/Hqjku 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/Hqjku 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/Hqjku on line 3