3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '{ "inbound.json": [ { "status": "archived", "replied_from": "", "sentiment": "", "tags": "", "posted_by_id": "100003494427473", "posted_by": "100003494427473", "replies": "", "link_parent": "https://www.facebook.com/photo.php?fbid=669424943082868&set=a.393340390691326.95949.391522957539736&type=1", "platform_id": "669424943082868_3226642", "channel_name": "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)", "followers": "", "replied_by": "", "content_type": "comment", "text": "\ucd5c\ud76c\uacbd \ud55c\uc794 \ub561\uae34\ub2e4", "link": "https://www.facebook.com/photo.php?fbid=669424943082868&set=a.393340390691326.95949.391522957539736&type=1&comment_id=3226642", "moderated_by": "Hyegyeong Ha", "moderation_date": "2013-10-24 07:34:24", "notes": "", "posted_on": "2013-10-23 15:15:57", "reply_date": "" }, { "status": "archived", "replied_from": "", "sentiment": "", "tags": "", "posted_by_id": "100003217312194", "posted_by": "100003217312194", "replies": "", "link_parent": "https://www.facebook.com/photo.php?fbid=669424943082868&set=a.393340390691326.95949.391522957539736&type=1", "platform_id": "669424943082868_3226660", "channel_name": "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)", "followers": "", "replied_by": "", "content_type": "comment", "text": "\uc774\ub3d9\uc601\ud55c\uc794\ud558\uc9c0\uce5c\uad6c", "link": "https://www.facebook.com/photo.php?fbid=669424943082868&set=a.393340390691326.95949.391522957539736&type=1&comment_id=3226660", "moderated_by": "Hyegyeong Ha", "moderation_date": "2013-10-24 07:34:27", "notes": "", "posted_on": "2013-10-23 15:21:27", "reply_date": "" }, { "status": "archived", "replied_from": "", "sentiment": "", "tags": "", "posted_by_id": "100000970955565", "posted_by": "Kiwon Park", "replies": "", "link_parent": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1", "platform_id": "672868479405181_3226723", "channel_name": "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)", "followers": "", "replied_by": "", "content_type": "comment", "text": "\uceac \uba4b\uc9c4\uc0ac\uc9c4", "link": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1&comment_id=3226723", "moderated_by": "Hyegyeong Ha", "moderation_date": "2013-10-24 07:34:29", "notes": "", "posted_on": "2013-10-23 15:45:14", "reply_date": "" }, { "status": "archived", "replied_from": "", "sentiment": "", "tags": "", "posted_by_id": "100003661095274", "posted_by": "\uc720\uc778\ubc94", "replies": "", "link_parent": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1", "platform_id": "672868479405181_3226728", "channel_name": "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)", "followers": "", "replied_by": "", "content_type": "comment", "text": "\uc784\uc120\ucca0 \uae30\ub124\uc2a4\ub97c \ubcf4\uba74 \ud615\uc774 \ub5a0\uc62c\ub77c", "link": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1&comment_id=3226728", "moderated_by": "Hyegyeong Ha", "moderation_date": "2013-10-24 07:34:32", "notes": "", "posted_on": "2013-10-23 15:49:41", "reply_date": "" }, { "status": "archived", "replied_from": "", "sentiment": "", "tags": "", "posted_by_id": "100003576594217", "posted_by": "\uc784\uc120\ucca0", "replies": "", "link_parent": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1", "platform_id": "672868479405181_3226739", "channel_name": "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)", "followers": "", "replied_by": "", "content_type": "comment", "text": "\uc720\uc778\ubc94 \u314b\u314b \ub0b4 \uc0dd\uba85\uc218", "link": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1&comment_id=3226739", "moderated_by": "Hyegyeong Ha", "moderation_date": "2013-10-24 07:34:35", "notes": "", "posted_on": "2013-10-23 15:53:35", "reply_date": "" } ] }'; $decoded = json_decode($encoded); var_dump($decoded);
Output for 5.2.0 - 7.1.0
Notice: Undefined variable: encoded in /in/8QL3V on line 118 NULL
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/8QL3V on line 118
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_decode() in /in/8QL3V on line 118
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_decode() in /in/8QL3V on line 118
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_decode() in /in/8QL3V on line 118