3v4l.org

run code in 300+ PHP versions simultaneously
<?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, false)); ?>

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0160.00318.55
8.3.50.0100.00922.04
8.3.40.0150.00018.37
8.3.30.0140.00318.88
8.3.20.0080.00020.20
8.3.10.0000.00822.09
8.3.00.0040.00422.43
8.2.180.0140.00716.75
8.2.170.0180.00322.96
8.2.160.0170.00320.67
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0070.00417.63
8.2.110.0070.00320.54
8.2.100.0070.00417.78
8.2.90.0030.00619.35
8.2.80.0030.00617.97
8.2.70.0060.00317.92
8.2.60.0070.00018.09
8.2.50.0080.00018.10
8.2.40.0040.00421.08
8.2.30.0000.00918.10
8.2.20.0000.00717.61
8.2.10.0040.00417.50
8.2.00.0000.00717.62
8.1.280.0140.00725.92
8.1.270.0080.00023.84
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0030.00622.47
8.1.230.0070.00419.29
8.1.220.0070.00017.74
8.1.210.0030.00818.77
8.1.200.0030.00717.10
8.1.190.0090.00017.35
8.1.180.0040.00418.10
8.1.170.0060.00318.55
8.1.160.0050.00321.88
8.1.150.0070.00018.50
8.1.140.0030.00717.34
8.1.130.0030.00317.75
8.1.120.0040.00417.32
8.1.110.0060.00317.36
8.1.100.0040.00417.45
8.1.90.0070.00017.42
8.1.80.0030.00617.30
8.1.70.0040.00417.29
8.1.60.0040.00417.43
8.1.50.0000.00717.37
8.1.40.0030.00617.50
8.1.30.0040.00417.42
8.1.20.0030.00517.57
8.1.10.0040.00417.49
8.1.00.0060.00317.39
8.0.300.0070.00019.65
8.0.290.0000.00716.75
8.0.280.0030.00318.40
8.0.270.0030.00317.26
8.0.260.0000.00716.64
8.0.250.0000.00716.88
8.0.240.0000.00716.79
8.0.230.0070.00016.91
8.0.220.0040.00416.81
8.0.210.0050.00216.75
8.0.200.0030.00316.76
8.0.190.0030.00316.90
8.0.180.0000.00716.92
8.0.170.0000.00816.89
8.0.160.0080.00016.85
8.0.150.0030.00316.79
8.0.140.0040.00416.69
8.0.130.0000.00513.30
8.0.120.0000.00816.80
8.0.110.0080.00016.82
8.0.100.0070.00016.73
8.0.90.0030.00516.86
8.0.80.0090.00616.90
8.0.70.0000.00716.82
8.0.60.0000.00716.90
8.0.50.0000.00716.80
8.0.30.0130.00816.97
8.0.20.0110.00817.40
8.0.10.0030.00516.84
8.0.00.0080.00916.72
7.4.330.0050.00015.07
7.4.320.0060.00016.54
7.4.300.0000.00716.50
7.4.290.0050.00316.56
7.4.280.0060.00316.44
7.4.270.0000.00716.47
7.4.260.0000.00716.56
7.4.250.0040.00416.49
7.4.240.0050.00216.53
7.4.230.0000.00716.43
7.4.220.0140.00616.50
7.4.210.0090.00716.54
7.4.200.0070.00016.53
7.4.190.0000.00716.70
7.4.160.0090.00616.11
7.4.150.0160.00317.40
7.4.140.0140.00417.86
7.4.130.0120.00516.46
7.4.120.0100.00716.49
7.4.110.0110.00816.38
7.4.100.0150.00416.35
7.4.90.0110.00816.37
7.4.80.0120.01219.39
7.4.70.0090.00916.29
7.4.60.0110.00516.42
7.4.50.0000.00616.14
7.4.40.0080.00822.77
7.4.30.0090.01016.56
7.4.10.0070.01014.86
7.4.00.0050.00814.83
7.3.330.0050.00013.13
7.3.320.0000.00512.98
7.3.310.0070.00016.11
7.3.300.0040.00415.96
7.3.290.0040.01016.11
7.3.280.0120.00816.14
7.3.270.0050.01517.40
7.3.260.0080.00816.30
7.3.250.0070.01016.35
7.3.240.0130.00916.34
7.3.230.0110.00516.39
7.3.210.0110.00616.13
7.3.200.0120.00919.39
7.3.190.0120.00916.12
7.3.180.0150.00016.25
7.3.170.0090.00616.27
7.3.160.0040.01316.17
7.3.130.0070.01314.66
7.3.120.0050.01114.73
7.3.110.0040.01114.48
7.3.100.0110.00414.71
7.3.90.0090.00614.66
7.3.80.0060.00914.50
7.3.70.0030.00714.63
7.3.60.0060.01014.47
7.3.50.0090.00614.73
7.3.40.0070.01014.83
7.3.30.0070.01014.80
7.3.20.0030.01016.37
7.3.10.0080.00516.57
7.3.00.0080.00516.41
7.2.330.0060.01216.45
7.2.320.0070.01416.61
7.2.310.0100.01216.46
7.2.300.0030.01316.43
7.2.290.0170.00016.48
7.2.260.0110.00714.54
7.2.250.0160.00314.93
7.2.240.0110.00314.63
7.2.230.0080.00414.90
7.2.220.0100.01014.92
7.2.210.0070.00314.50
7.2.200.0030.01314.80
7.2.190.0090.00314.90
7.2.180.0100.00714.83
7.2.170.0090.00614.82
7.2.160.0120.00314.82
7.2.150.0050.00516.59
7.2.140.0070.01116.67
7.2.130.0050.00916.44
7.2.120.0080.00416.75
7.2.110.0070.00716.42
7.2.100.0060.00616.64
7.2.90.0040.00816.69
7.2.80.0040.00716.70
7.2.70.0020.01116.63
7.2.60.0050.01016.77
7.2.50.0060.00816.66
7.2.40.0050.00716.87
7.2.30.0070.01016.63
7.2.20.0030.00816.65
7.2.10.0070.00716.66
7.2.00.0110.00417.46
7.1.330.0090.00315.83
7.1.320.0120.00615.92
7.1.310.0000.01415.80
7.1.300.0090.00915.79
7.1.290.0100.00715.79
7.1.280.0000.01515.79
7.1.270.0000.00815.51
7.1.260.0040.00815.74
7.1.250.0050.00715.75
7.1.240.0040.00815.68
7.1.230.0040.01015.76
7.1.220.0090.00615.41
7.1.210.0040.01215.71
7.1.200.0050.00315.72
7.1.190.0030.01115.74
7.1.180.0070.01015.62
7.1.170.0070.01115.70
7.1.160.0040.01115.77
7.1.150.0090.00615.66
7.1.140.0100.00315.39
7.1.130.0000.01115.69
7.1.120.0090.00615.85
7.1.110.0060.00615.81
7.1.100.0070.00717.02
7.1.90.0090.00015.71
7.1.80.0080.00415.75
7.1.70.0040.00716.47
7.1.60.0070.00817.72
7.1.50.0050.01216.33
7.1.40.0100.00715.59
7.1.30.0060.01015.71
7.1.20.0040.01115.64
7.1.10.0030.00515.88
7.1.00.0070.04018.92
7.0.330.0070.01015.52
7.0.320.0030.00615.35
7.0.310.0000.01015.32
7.0.300.0000.01514.94
7.0.290.0000.01315.35
7.0.280.0070.00715.45
7.0.270.0100.00615.27
7.0.260.0000.00915.36
7.0.250.0000.00915.40
7.0.240.0060.00615.41
7.0.230.0040.00815.35
7.0.220.0000.01315.34
7.0.210.0000.01415.09
7.0.200.0060.00515.91
7.0.190.0030.01215.50
7.0.180.0060.00915.35
7.0.170.0040.00815.32
7.0.160.0030.00715.38
7.0.150.0060.00615.26
7.0.140.0080.03818.75
7.0.130.0100.00315.38
7.0.120.0080.00615.42
7.0.110.0000.01115.33
7.0.100.0070.00415.05
7.0.90.0060.00315.49
7.0.80.0260.03617.45
7.0.70.0380.03817.61
7.0.60.0300.04717.69
7.0.50.0320.03517.67
7.0.40.0120.03816.64
7.0.30.0050.03316.61
7.0.20.0090.03016.83
7.0.10.0050.04116.62
7.0.00.0100.02216.82
5.6.400.0060.00914.10
5.6.390.0170.00014.13
5.6.380.0060.01013.94
5.6.370.0000.01314.16
5.6.360.0090.00614.24
5.6.350.0030.01014.26
5.6.340.0060.00314.07
5.6.330.0080.00814.31
5.6.320.0030.01013.86
5.6.310.0000.01314.26
5.6.300.0070.00714.24
5.6.290.0000.01314.28
5.6.280.0090.03717.52
5.6.270.0030.01314.22
5.6.260.0000.01014.33
5.6.250.0090.00314.34
5.6.240.0030.01014.11
5.6.230.0080.03117.44
5.6.220.0070.05117.32
5.6.210.0050.03817.17
5.6.200.0080.04117.75
5.6.190.0100.03817.57
5.6.180.0050.03017.66
5.6.170.0090.03217.69
5.6.160.0080.04317.63
5.6.150.0050.04417.52
5.6.140.0060.02117.68
5.6.130.0110.03717.58
5.6.120.0120.03517.68
5.6.110.0030.04817.76
5.6.100.0070.03017.69
5.6.90.0070.04117.62
5.6.80.0030.02717.37
5.6.70.0070.04017.26
5.6.60.0110.03817.24
5.6.50.0050.04917.12
5.6.40.0050.02717.15
5.6.30.0030.03217.34
5.6.20.0070.04417.32
5.6.10.0060.02617.28
5.6.00.0080.02017.33
5.5.380.0090.00614.18
5.5.370.0000.03117.20
5.5.360.0070.04517.57
5.5.350.0050.04417.42
5.5.340.0120.03217.58
5.5.330.0080.04317.37
5.5.320.0020.04217.42
5.5.310.0060.04517.31
5.5.300.0070.03217.41
5.5.290.0070.04417.37
5.5.280.0080.04217.58
5.5.270.0060.03017.43
5.5.260.0020.04717.57
5.5.250.0110.03617.34
5.5.240.0080.04017.16
5.5.230.0070.03217.05
5.5.220.0070.02416.99
5.5.210.0090.04417.02
5.5.200.0070.03017.11
5.5.190.0030.03117.05
5.5.180.0080.04317.02
5.5.170.0100.00313.98
5.5.160.0100.04217.15
5.5.150.0080.04217.08
5.5.140.0130.03817.07
5.5.130.0050.03717.20
5.5.120.0030.04017.04
5.5.110.0050.03017.07
5.5.100.0060.04017.06
5.5.90.0080.03917.15
5.5.80.0080.04216.90
5.5.70.0050.04016.97
5.5.60.0080.03817.13
5.5.50.0060.02616.97
5.5.40.0080.03017.06
5.5.30.0050.04517.05
5.5.20.0110.03917.06
5.5.10.0080.04217.01
5.5.00.0110.03717.17
5.4.450.0050.04215.86
5.4.440.0070.04315.83
5.4.430.0060.04215.84
5.4.420.0060.03115.88
5.4.410.0100.03515.69
5.4.400.0050.04215.68
5.4.390.0070.03515.60
5.4.380.0050.03815.67
5.4.370.0100.02715.70
5.4.360.0070.04215.67
5.4.350.0070.03815.63
5.4.340.0070.04315.62
5.4.330.0100.00012.29
5.4.320.0050.04615.63
5.4.310.0120.03815.68
5.4.300.0090.02815.70
5.4.290.0030.04515.66
5.4.280.0080.04015.53
5.4.270.0070.02415.59
5.4.260.0030.02215.67
5.4.250.0010.04115.62
5.4.240.0050.04415.65
5.4.230.0050.04115.69
5.4.220.0080.04015.71
5.4.210.0060.02315.67
5.4.200.0120.02815.53
5.4.190.0050.03515.53
5.4.180.0070.03915.68
5.4.170.0100.03615.63
5.4.160.0020.04115.71
5.4.150.0060.03815.62
5.4.140.0050.04114.19
5.4.130.0050.04014.26
5.4.120.0030.04214.15
5.4.110.0050.03014.37
5.4.100.0050.03214.37
5.4.90.0030.04014.27
5.4.80.0080.04014.29
5.4.70.0050.04014.24
5.4.60.0000.03114.30
5.4.50.0070.04214.26
5.4.40.0020.03314.38
5.4.30.0020.03714.24
5.4.20.0030.02514.24
5.4.10.0110.02114.24
5.4.00.0050.04414.02
5.3.290.0100.04013.48
5.3.280.0080.02213.38
5.3.270.0070.03713.45
5.3.260.0050.04713.45
5.3.250.0050.03513.45
5.3.240.0050.04013.45
5.3.230.0030.04513.43
5.3.220.0020.04213.35
5.3.210.0050.04413.35
5.3.200.0020.04313.44
5.3.190.0050.03013.44
5.3.180.0080.03513.37
5.3.170.0040.03913.44
5.3.160.0090.03713.41
5.3.150.0030.02513.40
5.3.140.0020.03713.43
5.3.130.0020.03213.42
5.3.120.0120.03313.40
5.3.110.0020.03713.42
5.3.100.0050.02313.17
5.3.90.0050.03713.16
5.3.80.0050.03113.13
5.3.70.0010.03513.15
5.3.60.0070.02213.14
5.3.50.0110.01813.10
5.3.40.0030.02213.10
5.3.30.0030.02313.10
5.3.20.0030.02113.10
5.3.10.0080.02113.10
5.3.00.0070.01813.10
5.2.170.0070.06013.91
5.2.160.0000.04313.91
5.2.150.0030.04313.91
5.2.140.0070.02713.91
5.2.130.0000.03013.91
5.2.120.0030.03013.91
5.2.110.0100.02313.91
5.2.100.0000.03313.91
5.2.90.0000.03013.91
5.2.80.0070.03013.91
5.2.70.0000.03313.91
5.2.60.0030.03013.91
5.2.50.0070.06313.91
5.2.40.0000.03313.91
5.2.30.0030.03713.91
5.2.20.0030.02713.91
5.2.10.0000.03013.91
5.2.00.0030.02713.91
5.1.60.0100.02013.91
5.1.50.0100.04313.91
5.1.40.0030.02713.91
5.1.30.0000.02713.91
5.1.20.0030.02713.91
5.1.10.0000.02713.91
5.1.00.0030.02313.91
5.0.50.0030.01713.91
5.0.40.0000.02013.91
5.0.30.0000.02713.91
5.0.20.0030.01713.91
5.0.10.0030.02713.91
5.0.00.0030.03313.91
4.4.90.0070.01013.91
4.4.80.0000.01713.91
4.4.70.0070.01313.91
4.4.60.0000.01313.91
4.4.50.0100.00713.91
4.4.40.0030.02713.91
4.4.30.0000.01713.91
4.4.20.0070.01013.91
4.4.10.0030.01313.91
4.4.00.0000.02713.91
4.3.110.0000.01713.91
4.3.100.0000.01713.91
4.3.90.0030.01313.91
4.3.80.0070.01713.91
4.3.70.0030.01313.91
4.3.60.0000.01313.91
4.3.50.0000.01713.91
4.3.40.0000.04013.91
4.3.30.0000.01313.91
4.3.20.0030.01313.91
4.3.10.0000.01713.91
4.3.00.0000.01713.91

preferences:
41.9 ms | 401 KiB | 5 Q