3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = '{"last_feed_timestamp":"0","facebook_friends":""[{\"uid\":\"12080\",\"name\":\"Matt King\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-frc3/t1.0-1/c6.0.50.50/p50x50/1383015_10101032935071631_1919281503_s.jpg\"},{\"uid\":\"216995\",\"name\":\"Komal Sethi\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn2/t1.0-1/p50x50/1911653_10100942115429923_61707379_t.jpg\"},{\"uid\":\"902734\",\"name\":\"Teddy Saunders\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn2/t1.0-1/c33.0.85.85/s50x50/10256563_10102211671344700_1008138769665047280_s.jpg\"},{\"uid\":\"1102787\",\"name\":\"Rachman Blake\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn1/t1.0-1/c13.0.50.50/p50x50/1959228_10100216129227102_996623737_s.jpg\"},{\"uid\":\"1204209\",\"name\":\"Ian Lokae Luo\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn2/t1.0-1/p50x50/1451369_10102674493365663_23925050_t.jpg\"},{\"uid\":\"1212783\",\"name\":\"Jenn Sturgill\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn1/t1.0-1/p50x50/10338836_10103101619601263_1043773192369593501_t.jpg\"},{\"uid\":\"1230834\",\"name\":\"Yelena Filipchuk\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-prn2/t1.0-1/c12.0.50.50/1797378_10103091069324103_8664376835421453832_t.jpg\"},{\"uid\":\"1241385\",\"name\":\"Suman Jasmine\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash3/t1.0-1/c26.0.85.85/s50x50/12238_10101745808482613_1951095216_s.jpg\"},{\"uid\":\"1402715\",\"name\":\"Julia Allison\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-frc1/t1.0-1/c0.0.50.50/p50x50/1907627_10100686463558335_4117318721334058606_t.jpg\"},{\"uid\":\"1404844\",\"name\":\"Estrella Alpina\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-frc1/t1.0-1/c0.0.50.50/p50x50/1922318_10100633864537195_1172575740_t.jpg\"},{\"uid\":\"2027398\",\"name\":\"Benlloyd Goldstein\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash3/t1.0-1/p50x50/943580_10103489939919241_746228323_t.jpg\"},{\"uid\":\"2404082\",\"name\":\"Madamn Burnz\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash3/t1.0-1/c13.0.50.50/p50x50/1901334_10100833575634565_126883013_s.jpg\"},{\"uid\":\"2411878\",\"name\":\"Zach Beach\",\"pic_square\":\"https://fbcdn-profile-a.akamaihd.net/hprofile-ak-ash3/v/t1.0-1/c13.0.50.50/p50x50/1521294_10100783892889185_971278377_s.jpg?oh=56b0d823d8fba2f4369c09d92613c629&oe=53F7BD05&__gda__=1407597833_60c0c292ec309865536ff6d0c2049e16\"}]}'; $data2 = json_decode($data);
Output for 5.2.0 - 7.1.0
Output for 5.0.0 - 5.1.6
<br /> <b>Fatal error</b>: Call to undefined function json_decode() in <b>/in/3Casb</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<br /> <b>Fatal error</b>: Call to undefined function: json_decode() in <b>/in/3Casb</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<br /> <b>Fatal error</b>: Call to undefined function: json_decode() in <b>/in/3Casb</b> on line <b>3</b><br />
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<br /> <b>Fatal error</b>: Call to undefined function: json_decode() in <b>/in/3Casb</b> on line <b>3</b><br />