3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $json = '{"response":{"data":{"surveyId":"~5g1c7g0","title":"PLANCESSJEE | Number Leads | Catalog Page | New Visitors, Referred From Home , Leave Intent ","totalQuestions":1,"licenseCode":"82616c97","questionResponses":[{"questionId":"~258s8oe","questionText":"Didn\'t Find What You Were Looking For ? Get a Call Back from a JEE Counselor","order":1,"value":{"@class":"map","values":{"Enter Mobile Number":"9022963386"}}}],"id":"hakfae","activity":{"ip":"122.170.71.233","city":"Mumbai","country":"India","browser":"Chrome","browserVersion":"35","platform":"Linux"}}}}'; echo print_r(json_decode($json));
Output for 5.2.0 - 7.1.0
stdClass Object ( [response] => stdClass Object ( [data] => stdClass Object ( [surveyId] => ~5g1c7g0 [title] => PLANCESSJEE | Number Leads | Catalog Page | New Visitors, Referred From Home , Leave Intent [totalQuestions] => 1 [licenseCode] => 82616c97 [questionResponses] => Array ( [0] => stdClass Object ( [questionId] => ~258s8oe [questionText] => Didn't Find What You Were Looking For ? Get a Call Back from a JEE Counselor [order] => 1 [value] => stdClass Object ( [@class] => map [values] => stdClass Object ( [Enter Mobile Number] => 9022963386 ) ) ) ) [id] => hakfae [activity] => stdClass Object ( [ip] => 122.170.71.233 [city] => Mumbai [country] => India [browser] => Chrome [browserVersion] => 35 [platform] => Linux ) ) ) ) 1
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/1pYDe 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/1pYDe 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/1pYDe 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/1pYDe on line 4