3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $json = '{"in_reply_to_user_id":null,"entities":{"user_mentions":[],"hashtags":[],"urls":[],"media":[{"url":"http://t.co/swbVeX3BJf","id_str":"337108086391193601","sizes":{"large":{"w":500,"h":375,"resize":"fit"},"small":{"w":340,"h":255,"resize":"fit"},"medium":{"w":500,"h":375,"resize":"fit"},"thumb":{"w":150,"h":150,"resize":"crop"}},"display_url":"pic.twitter.com/swbVeX3BJf","id":337108086391193601,"indices":[0,22],"expanded_url":"http://twitter.com/AlexandrLinnik/status/337108086386999296/photo/1","source_status_id":null,"type":"photo","media_url":"http://pbs.twimg.com/media/BK2mBLxCQAExf0d.jpg","media_url_https":"https://pbs.twimg.com/media/BK2mBLxCQAExf0d.jpg"}]},"place":null,"retweet_count":0,"id_str":"337108086386999296","retweeted":false,"source":"u003Ca href="http://yourtimekeeper.org" rel="nofollow"u003Eyourtimekeeper.orgu003C/au003E","contributors":null,"geo":null,"in_reply_to_status_id":null,"id":337108086386999296,"coordinates":null,"user":{"id_str":"309378816","profile_use_background_image":true,"name":"u0410u043bu0435u043au0441u0430u043du0434u0440 u041bu0438u043du043du0438u043a","created_at":"Thu Jun 02 00:30:33 +0000 2011","profile_text_color":"333333","following":false,"follow_request_sent":false,"id":309378816,"profile_sidebar_border_color":"C0DEED","url":null,"default_profile_image":true,"statuses_count":50,"profile_image_url_https":"https://si0.twimg.com/sticky/default_profile_images/default_profile_5_normal.png","description":null,"profile_background_tile":false,"favourites_count":0,"location":null,"profile_image_url":"http://a0.twimg.com/sticky/default_profile_images/default_profile_5_normal.png","contributors_enabled":false,"profile_sidebar_fill_color":"DDEEF6","verified":false,"profile_background_image_url_https":"https://si0.twimg.com/images/themes/theme1/bg.png","is_translator":false,"utc_offset":null,"entities":{"description":{"urls":[]}},"time_zone":null,"profile_background_color":"C0DEED","protected":false,"lang":"ru","screen_name":"AlexandrLinnik","default_profile":true,"friends_count":0,"profile_background_image_url":"http://a0.twimg.com/images/themes/theme1/bg.png","profile_link_color":"0084B4","followers_count":1,"notifications":false,"listed_count":0,"geo_enabled":true},"in_reply_to_screen_name":null,"in_reply_to_status_id_str":null,"possibly_sensitive":false,"favorited":false,"truncated":false,"created_at":"Wed May 22 07:30:05 +0000 2013","in_reply_to_user_id_str":null,"text":"http://t.co/swbVeX3BJf"}'; print_r(json_decode($json, true)); ?>
Output for 5.2.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_decode() in /in/iLh3A 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/iLh3A 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/iLh3A 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/iLh3A on line 4