3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $json = '{"responseData": {"results":[{"GsearchResultClass":"GwebSearch","unescapedUrl":"http://www.speakeasy.net/speedtest/","url":"http://www.speakeasy.net/speedtest/","visibleUrl":"www.speakeasy.net","cacheUrl":"http://www.google.com/search?q\u003dcache:71lCly1h_zMJ:www.speakeasy.net","title":"Speakeasy Speed \u003cb\u003eTest\u003c/b\u003e","titleNoFormatting":"Speakeasy Speed Test","content":"Speakeasy Speed \u003cb\u003eTest\u003c/b\u003e - Broadband Speed \u003cb\u003eTest\u003c/b\u003e. Go to MegaPath Speed \u003cb\u003eTest\u003c/b\u003e \nPlus. Choose a Location Monday 03-Feb 2014, 08:51:52 PM. The Speakeasy \u003cb\u003e...\u003c/b\u003e"},{"GsearchResultClass":"GwebSearch","unescapedUrl":"http://html5test.com/","url":"http://html5test.com/","visibleUrl":"html5test.com","cacheUrl":"http://www.google.com/search?q\u003dcache:4iYNcsRrwi8J:html5test.com","title":"HTML5 \u003cb\u003eTest\u003c/b\u003e","titleNoFormatting":"HTML5 Test","content":"The HTML5 \u003cb\u003etest\u003c/b\u003e score is an indication of how well your browser supports the \nupcoming HTML5 standard and related specifications. Even though the \u003cb\u003e...\u003c/b\u003e"},{"GsearchResultClass":"GwebSearch","unescapedUrl":"http://www.humanmetrics.com/cgi-win/jtypes2.asp","url":"http://www.humanmetrics.com/cgi-win/jtypes2.asp","visibleUrl":"www.humanmetrics.com","cacheUrl":"http://www.google.com/search?q\u003dcache:w_lAt3mgXcoJ:www.humanmetrics.com","title":"Personality \u003cb\u003etest\u003c/b\u003e based on C. Jung and I. Briggs Myers type theory","titleNoFormatting":"Personality test based on C. Jung and I. Briggs Myers type theory","content":"Jung Typology \u003cb\u003eTest\u003c/b\u003e™. This free \u003cb\u003etest\u003c/b\u003e is based on Carl Jung\u0026#39;s and Isabel Briggs \nMyers\u0026#39; typological approach to personality *. Upon completion of the \u003cb\u003e...\u003c/b\u003e"}],"cursor":{"resultCount":"266,000,000","pages":[{"start":"0","label":1},{"start":"3","label":2},{"start":"6","label":3},{"start":"9","label":4},{"start":"12","label":5},{"start":"15","label":6},{"start":"18","label":7},{"start":"21","label":8}],"estimatedResultCount":"266000000","currentPageIndex":0,"moreResultsUrl":"http://www.google.com/search?oe\u003dutf8\u0026ie\u003dutf8\u0026source\u003duds\u0026start\u003d2\u0026hl\u003den\u0026q\u003dtest","searchResultTime":"0.15"}}, "responseDetails": null, "responseStatus": 200}'; print_r(json_decode($json, true));
Output for 5.2.0 - 7.1.0
Array ( [responseData] => Array ( [results] => Array ( [0] => Array ( [GsearchResultClass] => GwebSearch [unescapedUrl] => http://www.speakeasy.net/speedtest/ [url] => http://www.speakeasy.net/speedtest/ [visibleUrl] => www.speakeasy.net [cacheUrl] => http://www.google.com/search?q=cache:71lCly1h_zMJ:www.speakeasy.net [title] => Speakeasy Speed <b>Test</b> [titleNoFormatting] => Speakeasy Speed Test [content] => Speakeasy Speed <b>Test</b> - Broadband Speed <b>Test</b>. Go to MegaPath Speed <b>Test</b> Plus. Choose a Location Monday 03-Feb 2014, 08:51:52 PM. The Speakeasy <b>...</b> ) [1] => Array ( [GsearchResultClass] => GwebSearch [unescapedUrl] => http://html5test.com/ [url] => http://html5test.com/ [visibleUrl] => html5test.com [cacheUrl] => http://www.google.com/search?q=cache:4iYNcsRrwi8J:html5test.com [title] => HTML5 <b>Test</b> [titleNoFormatting] => HTML5 Test [content] => The HTML5 <b>test</b> score is an indication of how well your browser supports the upcoming HTML5 standard and related specifications. Even though the <b>...</b> ) [2] => Array ( [GsearchResultClass] => GwebSearch [unescapedUrl] => http://www.humanmetrics.com/cgi-win/jtypes2.asp [url] => http://www.humanmetrics.com/cgi-win/jtypes2.asp [visibleUrl] => www.humanmetrics.com [cacheUrl] => http://www.google.com/search?q=cache:w_lAt3mgXcoJ:www.humanmetrics.com [title] => Personality <b>test</b> based on C. Jung and I. Briggs Myers type theory [titleNoFormatting] => Personality test based on C. Jung and I. Briggs Myers type theory [content] => Jung Typology <b>Test</b>™. This free <b>test</b> is based on Carl Jung&#39;s and Isabel Briggs Myers&#39; typological approach to personality *. Upon completion of the <b>...</b> ) ) [cursor] => Array ( [resultCount] => 266,000,000 [pages] => Array ( [0] => Array ( [start] => 0 [label] => 1 ) [1] => Array ( [start] => 3 [label] => 2 ) [2] => Array ( [start] => 6 [label] => 3 ) [3] => Array ( [start] => 9 [label] => 4 ) [4] => Array ( [start] => 12 [label] => 5 ) [5] => Array ( [start] => 15 [label] => 6 ) [6] => Array ( [start] => 18 [label] => 7 ) [7] => Array ( [start] => 21 [label] => 8 ) ) [estimatedResultCount] => 266000000 [currentPageIndex] => 0 [moreResultsUrl] => http://www.google.com/search?oe=utf8&ie=utf8&source=uds&start=2&hl=en&q=test [searchResultTime] => 0.15 ) ) [responseDetails] => [responseStatus] => 200 )
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/jjNoL on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/jjNoL on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/jjNoL on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/jjNoL on line 4