3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php print_r(json_decode('{"items":[{"id":1,"name":"My Christmas List","default":false,"dateAdded":1410307200000,"lastModified":1413303752184,"originSite":"www.bbcgoodfood.com","status":"inactive","thumbnailUrl":"http://i.groceries.asda.com/g/v5/78/53/23131232_213_IDShot_2.jpeg","uniqueRecipes":5,"uniqueRecipeIds":[1,2,3,4,5],"self":{"href":"http://cloudlist.qa.foodity.com/cloudlist/v1/cloudlists/1?api_key=qwerty1234"}},{"id":2,"name":"My Weekly List","default":true,"dateAdded":1410393600000,"lastModified":1413303752185,"originSite":"www.bbcgoodfood.com","status":"active","thumbnailUrl":"http://i.groceries.asda.com/g/v5/78/53/23131232_213_IDShot_2.jpeg","uniqueRecipes":5,"uniqueRecipeIds":[1,2,3,4,5],"self":{"href":"http://cloudlist.qa.foodity.com/cloudlist/v1/cloudlists/2?api_key=qwerty1234"}}],"page":{"number":1,"size":10,"totalPages":1,"totalElements":2},"previous":null,"next":null,"first":{"href":"http://localhost:9500/cloudlist/v1/cloudlists/?preferredOnly=false&page=0&size=10&sort=id,ASC"},"last":{"href":"http://localhost:9500/cloudlist/v1/cloudlists/?preferredOnly=false&page=0&size=10&sort=id,ASC"},"self":{"href":"http://localhost:9500/cloudlist/v1/cloudlists/?preferredOnly=false&page=0&size=10&sort=id,ASC"}}', true));
based on usFR8
Output for 5.2.0 - 5.6.28, hhvm-3.12.0, 7.0.0 - 7.1.0
Array ( [items] => Array ( [0] => Array ( [id] => 1 [name] => My Christmas List [default] => [dateAdded] => 1410307200000 [lastModified] => 1413303752184 [originSite] => www.bbcgoodfood.com [status] => inactive [thumbnailUrl] => http://i.groceries.asda.com/g/v5/78/53/23131232_213_IDShot_2.jpeg [uniqueRecipes] => 5 [uniqueRecipeIds] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 ) [self] => Array ( [href] => http://cloudlist.qa.foodity.com/cloudlist/v1/cloudlists/1?api_key=qwerty1234 ) ) [1] => Array ( [id] => 2 [name] => My Weekly List [default] => 1 [dateAdded] => 1410393600000 [lastModified] => 1413303752185 [originSite] => www.bbcgoodfood.com [status] => active [thumbnailUrl] => http://i.groceries.asda.com/g/v5/78/53/23131232_213_IDShot_2.jpeg [uniqueRecipes] => 5 [uniqueRecipeIds] => Array ( [0] => 1 [1] => 2 [2] => 3 [3] => 4 [4] => 5 ) [self] => Array ( [href] => http://cloudlist.qa.foodity.com/cloudlist/v1/cloudlists/2?api_key=qwerty1234 ) ) ) [page] => Array ( [number] => 1 [size] => 10 [totalPages] => 1 [totalElements] => 2 ) [previous] => [next] => [first] => Array ( [href] => http://localhost:9500/cloudlist/v1/cloudlists/?preferredOnly=false&page=0&size=10&sort=id,ASC ) [last] => Array ( [href] => http://localhost:9500/cloudlist/v1/cloudlists/?preferredOnly=false&page=0&size=10&sort=id,ASC ) [self] => Array ( [href] => http://localhost:9500/cloudlist/v1/cloudlists/?preferredOnly=false&page=0&size=10&sort=id,ASC ) )
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/aqeJt on line 2
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/aqeJt on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/aqeJt on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/aqeJt on line 2