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, true)); ?>

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.0120.00616.50
8.3.50.0120.00522.06
8.3.40.0060.00918.71
8.3.30.0100.00318.95
8.3.20.0040.00420.09
8.3.10.0040.00423.66
8.3.00.0090.00019.13
8.2.180.0130.00716.50
8.2.170.0120.00322.96
8.2.160.0070.00720.53
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00422.25
8.2.110.0100.00022.25
8.2.100.0110.00017.72
8.2.90.0000.00819.09
8.2.80.0000.00817.97
8.2.70.0130.00017.38
8.2.60.0060.00317.80
8.2.50.0040.00418.07
8.2.40.0000.00718.03
8.2.30.0060.00318.05
8.2.20.0040.00417.64
8.2.10.0000.00818.03
8.2.00.0030.00717.49
8.1.280.0040.01125.92
8.1.270.0050.00322.01
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00323.87
8.1.230.0040.00819.16
8.1.220.0000.00817.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0040.00417.27
8.1.180.0000.00818.10
8.1.170.0060.00318.52
8.1.160.0060.00321.93
8.1.150.0050.00218.61
8.1.140.0070.00017.29
8.1.130.0000.00717.76
8.1.120.0000.00717.30
8.1.110.0030.00517.39
8.1.100.0070.00017.31
8.1.90.0040.00417.29
8.1.80.0000.00717.41
8.1.70.0030.00317.36
8.1.60.0040.00417.41
8.1.50.0000.00817.48
8.1.40.0040.00417.45
8.1.30.0000.00717.59
8.1.20.0040.00417.59
8.1.10.0040.00417.36
8.1.00.0000.00817.27
8.0.300.0070.00018.77
8.0.290.0050.00317.05
8.0.280.0040.00418.34
8.0.270.0030.00317.15
8.0.260.0060.00016.63
8.0.250.0000.00716.91
8.0.240.0040.00416.78
8.0.230.0030.00316.88
8.0.220.0000.00716.83
8.0.210.0000.00716.80
8.0.200.0000.00616.90
8.0.190.0040.00416.79
8.0.180.0070.00016.88
8.0.170.0040.00416.74
8.0.160.0030.00316.90
8.0.150.0040.00416.83
8.0.140.0000.00816.85
8.0.130.0030.00313.30
8.0.120.0080.00016.74
8.0.110.0040.00416.81
8.0.100.0040.00416.73
8.0.90.0050.00316.82
8.0.80.0100.00716.82
8.0.70.0070.00016.72
8.0.60.0040.00416.87
8.0.50.0000.00716.87
8.0.30.0080.01217.09
8.0.20.0100.01117.40
8.0.10.0050.00316.92
8.0.00.0080.00916.71
7.4.330.0020.00215.07
7.4.320.0030.00316.46
7.4.300.0040.00416.43
7.4.290.0030.00316.39
7.4.280.0030.00616.43
7.4.270.0000.00716.45
7.4.260.0040.00416.41
7.4.250.0000.00716.54
7.4.240.0060.00216.56
7.4.230.0040.00416.53
7.4.220.0120.00616.61
7.4.210.0060.00816.43
7.4.200.0030.00316.33
7.4.190.0090.00016.48
7.4.160.0110.00816.51
7.4.150.0090.00917.40
7.4.140.0050.01617.86
7.4.130.0070.00816.37
7.4.120.0120.00816.53
7.4.110.0130.00316.36
7.4.100.0110.00716.44
7.4.90.0080.00816.32
7.4.80.0060.01219.39
7.4.70.0110.00416.55
7.4.60.0080.00816.34
7.4.50.0000.00516.40
7.4.40.0060.01022.77
7.4.30.0040.01116.37
7.4.00.0030.01215.00
7.3.330.0020.00212.89
7.3.320.0030.00313.04
7.3.310.0000.00716.04
7.3.300.0070.00016.09
7.3.290.0110.00616.09
7.3.280.0060.01116.12
7.3.270.0120.00617.40
7.3.260.0160.00016.18
7.3.250.0120.00616.27
7.3.240.0030.01416.13
7.3.230.0060.01216.39
7.3.210.0100.00616.27
7.3.200.0130.00719.39
7.3.190.0030.01316.35
7.3.180.0130.00316.44
7.3.170.0060.01016.43
7.3.160.0070.01016.25
7.3.120.0060.01114.76
7.3.110.0060.01214.60
7.3.100.0100.01014.34
7.3.90.0030.01014.59
7.3.80.0090.00614.62
7.3.70.0000.01214.66
7.3.60.0080.00814.73
7.3.50.0100.00314.70
7.3.40.0140.00014.68
7.3.30.0060.00614.68
7.3.20.0030.01016.55
7.3.10.0050.00716.54
7.3.00.0070.00816.62
7.2.330.0110.01116.59
7.2.320.0030.01316.40
7.2.310.0120.00316.43
7.2.300.0100.00716.26
7.2.290.0060.01316.30
7.2.250.0000.01814.62
7.2.240.0000.01814.76
7.2.230.0030.01014.64
7.2.220.0070.01014.89
7.2.210.0060.01215.03
7.2.200.0100.00014.63
7.2.190.0090.00914.84
7.2.180.0070.00714.86
7.2.170.0060.00614.82
7.2.160.0060.00614.77
7.2.150.0080.00816.74
7.2.140.0060.00616.82
7.2.130.0070.00816.61
7.2.120.0060.00816.39
7.2.110.0030.01016.63
7.2.100.0070.00616.78
7.2.90.0040.01016.69
7.2.80.0050.00716.70
7.2.70.0030.01216.86
7.2.60.0070.00716.59
7.2.50.0100.00316.66
7.2.40.0050.00916.73
7.2.30.0010.01216.60
7.2.20.0040.00716.81
7.2.10.0030.00916.75
7.2.00.0040.01017.49
7.1.330.0090.00915.63
7.1.320.0090.00615.45
7.1.310.0070.00715.76
7.1.300.0070.00715.72
7.1.290.0000.01315.89
7.1.280.0100.00315.53
7.1.270.0030.01515.42
7.1.260.0040.01115.77
7.1.250.0060.00915.63
7.1.240.0040.01115.89
7.1.230.0030.00715.80
7.1.220.0060.00915.87
7.1.210.0040.00415.79
7.1.200.0070.00715.71
7.1.190.0030.01415.74
7.1.180.0030.01215.80
7.1.170.0000.01315.66
7.1.160.0030.01015.77
7.1.150.0070.00715.77
7.1.140.0030.00715.72
7.1.130.0030.01015.62
7.1.120.0090.00315.57
7.1.110.0090.00615.91
7.1.100.0030.01116.92
7.1.90.0000.00815.78
7.1.80.0000.00815.79
7.1.70.0040.00716.50
7.1.60.0020.01817.41
7.1.50.0050.01116.18
7.1.40.0070.00715.63
7.1.30.0100.00315.70
7.1.20.0070.00715.61
7.1.10.0080.00415.77
7.1.00.0030.04319.04
7.0.330.0000.00915.24
7.0.320.0030.00615.07
7.0.310.0030.00515.18
7.0.300.0040.00715.14
7.0.290.0030.01215.02
7.0.280.0100.00315.53
7.0.270.0030.01015.33
7.0.260.0030.01015.09
7.0.250.0060.00615.23
7.0.240.0080.00615.35
7.0.230.0090.00315.12
7.0.220.0030.01315.42
7.0.210.0100.00315.30
7.0.200.0030.00815.90
7.0.190.0080.00415.23
7.0.180.0060.00315.33
7.0.170.0040.01115.16
7.0.160.0100.00315.29
7.0.150.0030.01015.47
7.0.140.0060.03918.78
7.0.130.0100.00315.53
7.0.120.0060.00615.30
7.0.110.0080.00015.41
7.0.100.0000.01215.43
7.0.90.0000.01515.31
7.0.80.0090.02517.57
7.0.70.0070.02317.68
7.0.60.0100.02517.62
7.0.50.0130.02417.91
7.0.40.0050.02216.66
7.0.30.0070.03716.73
7.0.20.0020.02916.62
7.0.10.0050.02416.78
7.0.00.0060.02716.72
5.6.400.0040.01113.86
5.6.390.0000.00914.18
5.6.380.0090.00313.82
5.6.370.0070.00714.51
5.6.360.0060.00314.38
5.6.350.0040.00714.37
5.6.340.0030.00714.17
5.6.330.0060.01114.30
5.6.320.0090.00614.29
5.6.310.0100.00714.27
5.6.300.0030.01014.18
5.6.290.0040.00414.31
5.6.280.0060.03717.44
5.6.270.0030.00914.00
5.6.260.0030.00914.25
5.6.250.0050.00514.38
5.6.240.0000.01414.37
5.6.230.0040.02617.57
5.6.220.0030.02317.47
5.6.210.0060.04817.42
5.6.200.0130.01817.67
5.6.190.0030.02717.66
5.6.180.0080.02017.56
5.6.170.0030.02417.63
5.6.160.0100.02217.57
5.6.150.0030.02717.69
5.6.140.0050.02817.81
5.6.130.0020.02717.69
5.6.120.0030.03117.52
5.6.110.0050.04217.57
5.6.100.0050.03317.60
5.6.90.0020.03517.44
5.6.80.0070.02317.32
5.6.70.0050.04417.25
5.6.60.0040.04417.22
5.6.50.0070.04017.23
5.6.40.0120.03917.26
5.6.30.0080.04117.15
5.6.20.0070.02517.24
5.6.10.0090.03717.40
5.6.00.0020.05117.24
5.5.380.0030.00914.22
5.5.370.0070.02417.27
5.5.360.0050.02817.27
5.5.350.0000.03117.25
5.5.340.0020.02917.43
5.5.330.0010.02717.19
5.5.320.0060.02117.39
5.5.310.0050.02617.36
5.5.300.0030.02817.48
5.5.290.0060.02117.49
5.5.280.0080.03217.39
5.5.270.0060.02017.43
5.5.260.0070.02517.42
5.5.250.0050.02417.33
5.5.240.0120.04017.13
5.5.230.0030.03617.16
5.5.220.0100.02517.06
5.5.210.0030.03217.06
5.5.200.0070.04516.86
5.5.190.0090.03617.10
5.5.180.0060.04317.05
5.5.170.0030.00613.78
5.5.160.0110.04117.14
5.5.150.0080.04117.18
5.5.140.0020.03017.05
5.5.130.0100.03217.03
5.5.120.0110.03616.96
5.5.110.0050.04517.02
5.5.100.0030.03517.11
5.5.90.0100.03116.79
5.5.80.0080.04616.99
5.5.70.0100.04017.22
5.5.60.0030.04617.06
5.5.50.0100.02317.11
5.5.40.0070.04217.05
5.5.30.0090.03716.98
5.5.20.0120.03716.90
5.5.10.0070.02417.05
5.5.00.0080.04116.95
5.4.450.0030.03915.11
5.4.440.0050.02315.03
5.4.430.0000.02515.23
5.4.420.0020.02615.08
5.4.410.0050.02315.03
5.4.400.0050.04214.82
5.4.390.0030.04414.83
5.4.380.0040.02914.76
5.4.370.0050.04214.88
5.4.360.0050.04214.76
5.4.350.0060.03815.02
5.4.340.0050.04114.84
5.4.330.0000.00610.93
5.4.320.0090.03814.87
5.4.310.0100.03514.95
5.4.300.0050.04014.68
5.4.290.0050.04214.74
5.4.280.0080.03314.87
5.4.270.0050.02914.81
5.4.260.0040.02814.55
5.4.250.0080.03814.79
5.4.240.0050.04014.76
5.4.230.0110.02714.80
5.4.220.0020.03514.73
5.4.210.0070.04014.88
5.4.200.0050.04214.84
5.4.190.0100.03814.80
5.4.180.0060.02814.69
5.4.170.0020.04014.90
5.4.160.0050.04214.89
5.4.150.0020.04514.80
5.4.140.0020.04213.36
5.4.130.0020.03513.40
5.4.120.0080.03113.39
5.4.110.0050.04113.54
5.4.100.0030.04313.54
5.4.90.0000.04013.46
5.4.80.0060.03813.48
5.4.70.0060.04313.48
5.4.60.0050.04113.40
5.4.50.0050.04313.46
5.4.40.0050.04213.54
5.4.30.0080.03713.59
5.4.20.0030.04313.46
5.4.10.0080.02313.55
5.4.00.0020.04213.22
5.3.290.0070.03712.61
5.3.280.0080.04312.43
5.3.270.0000.04412.45
5.3.260.0070.04512.44
5.3.250.0030.02212.43
5.3.240.0030.02712.44
5.3.230.0070.02212.39
5.3.220.0000.03812.42
5.3.210.0050.04212.27
5.3.200.0020.03312.49
5.3.190.0020.02512.45
5.3.180.0070.03212.43
5.3.170.0050.02312.56
5.3.160.0050.02612.55
5.3.150.0020.04012.34
5.3.140.0100.02312.47
5.3.130.0050.03112.47
5.3.120.0070.04012.44
5.3.110.0080.03512.43
5.3.100.0020.02612.07
5.3.90.0090.03012.22
5.3.80.0050.02412.01
5.3.70.0020.02912.16
5.3.60.0050.03512.08
5.3.50.0110.02911.97
5.3.40.0000.03012.10
5.3.30.0080.03512.14
5.3.20.0070.03911.90
5.3.10.0060.03311.79
5.3.00.0050.04111.80
5.2.170.0000.06313.50
5.2.160.0030.05313.50
5.2.150.0030.06713.50
5.2.140.0070.06013.50
5.2.130.0030.06313.50
5.2.120.0000.06313.50
5.2.110.0030.04013.50
5.2.100.0170.05313.50
5.2.90.0000.06313.50
5.2.80.0070.06013.50
5.2.70.0170.05313.50
5.2.60.0030.06713.50
5.2.50.0070.06313.50
5.2.40.0100.06013.50
5.2.30.0000.04713.50
5.2.20.0100.05313.50
5.2.10.0100.05313.50
5.2.00.0100.05713.50
5.1.60.0030.05313.50
5.1.50.0070.05313.50
5.1.40.0070.05313.50
5.1.30.0030.05713.50
5.1.20.0070.05313.50
5.1.10.0070.05013.50
5.1.00.0030.03713.50
5.0.50.0100.02713.50
5.0.40.0030.04013.50
5.0.30.0030.06013.50
5.0.20.0030.03013.50
5.0.10.0030.04013.50
5.0.00.0000.06713.50
4.4.90.0070.02713.50
4.4.80.0070.03313.50
4.4.70.0030.03713.50
4.4.60.0000.03013.50
4.4.50.0000.03713.50
4.4.40.0100.04013.50
4.4.30.0100.02713.50
4.4.20.0000.03013.50
4.4.10.0100.02713.50
4.4.00.0000.05713.50
4.3.110.0000.02313.50
4.3.100.0070.02713.50
4.3.90.0030.03313.50
4.3.80.0100.04713.50
4.3.70.0030.03313.50
4.3.60.0000.03713.50
4.3.50.0070.03313.50
4.3.40.0000.04713.50
4.3.30.0030.02713.50
4.3.20.0030.03313.50
4.3.10.0000.03713.50
4.3.00.0000.03313.50

preferences:
41.84 ms | 401 KiB | 5 Q