3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = json_decode(' {"meta":{"status":200,"msg":"OK"},"response":{"blog":{"title":"Testing...","name":"ronenamiel","posts":30,"url":"http:\/\/ronenamiel.tumblr.com\/","updated":1375023620,"description":"","ask":true,"ask_anon":false,"is_nsfw":false,"share_likes":true,"likes":18},"posts":[{"blog_name":"ronenamiel","id":32799388197,"post_url":"http:\/\/ronenamiel.tumblr.com\/post\/32799388197\/do-you-like-south-park","slug":"do-you-like-south-park","type":"photo","date":"2012-10-03 11:37:57 GMT","timestamp":1349264277,"state":"published","format":"html","reblog_key":"cODFD7oD","tags":[],"short_url":"http:\/\/tmblr.co\/Z3VlZuUY-l8b","highlighted":[],"note_count":1,"caption":"\u003Cp\u003EDo you like South Park?\u003C\/p\u003E","photoset_layout":"12","photos":[{"caption":"","alt_sizes":[{"width":350,"height":232,"url":"http:\/\/24.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco1_400.jpg"},{"width":250,"height":166,"url":"http:\/\/31.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco1_250.jpg"},{"width":100,"height":66,"url":"http:\/\/31.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco1_100.jpg"},{"width":75,"height":75,"url":"http:\/\/31.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco1_75sq.jpg"}],"original_size":{"width":350,"height":232,"url":"http:\/\/24.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco1_400.jpg"}},{"caption":"","alt_sizes":[{"width":350,"height":232,"url":"http:\/\/31.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco2_400.jpg"},{"width":250,"height":166,"url":"http:\/\/25.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco2_250.jpg"},{"width":100,"height":66,"url":"http:\/\/25.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco2_100.jpg"},{"width":75,"height":75,"url":"http:\/\/31.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco2_75sq.jpg"}],"original_size":{"width":350,"height":232,"url":"http:\/\/31.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco2_400.jpg"}},{"caption":"","alt_sizes":[{"width":350,"height":232,"url":"http:\/\/31.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco3_400.jpg"},{"width":250,"height":166,"url":"http:\/\/25.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco3_250.jpg"},{"width":100,"height":66,"url":"http:\/\/31.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco3_100.jpg"},{"width":75,"height":75,"url":"http:\/\/24.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco3_75sq.jpg"}],"original_size":{"width":350,"height":232,"url":"http:\/\/31.media.tumblr.com\/tumblr_mbbez9ZGoE1rds4bco3_400.jpg"}}]}],"total_posts":1}}'); $data->response->total_posts = 50; print_r($data);

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.40.0080.00818.67
8.3.30.0090.00619.10
8.3.20.0000.00720.29
8.3.10.0040.00423.65
8.3.00.0070.00319.35
8.2.170.0110.00422.96
8.2.160.0100.00320.41
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0080.00022.09
8.2.110.0030.00722.30
8.2.100.0110.00017.59
8.2.90.0060.00317.78
8.2.80.0040.00417.97
8.2.70.0030.00517.50
8.2.60.0080.00017.93
8.2.50.0030.00618.07
8.2.40.0030.00619.45
8.2.30.0030.00517.94
8.2.20.0000.00717.49
8.2.10.0000.00817.68
8.2.00.0040.00417.66
8.1.270.0040.00423.97
8.1.260.0070.00026.35
8.1.250.0030.00628.09
8.1.240.0060.00322.46
8.1.230.0080.00420.91
8.1.220.0040.00417.74
8.1.210.0050.00318.85
8.1.200.0030.00617.23
8.1.190.0080.00017.43
8.1.180.0000.00818.10
8.1.170.0080.00018.46
8.1.160.0000.00821.95
8.1.150.0050.00318.60
8.1.140.0000.00717.33
8.1.130.0040.00417.73
8.1.120.0030.00317.37
8.1.110.0060.00317.38
8.1.100.0090.00017.40
8.1.90.0030.00517.32
8.1.80.0000.00717.43
8.1.70.0030.00317.38
8.1.60.0000.00817.54
8.1.50.0040.00417.50
8.1.40.0000.00817.46
8.1.30.0080.00017.38
8.1.20.0030.00617.44
8.1.10.0060.00317.46
8.1.00.0040.00417.37
8.0.300.0000.00819.89
8.0.290.0000.00716.75
8.0.280.0000.00818.40
8.0.270.0030.00317.26
8.0.260.0030.00316.67
8.0.250.0040.00416.80
8.0.240.0030.00716.89
8.0.230.0030.00316.94
8.0.220.0040.00416.73
8.0.210.0040.00416.86
8.0.200.0030.00316.80
8.0.190.0070.00016.86
8.0.180.0040.00416.77
8.0.170.0050.00216.95
8.0.160.0000.00816.78
8.0.150.0030.00516.80
8.0.140.0090.00316.78
8.0.130.0090.00013.35
8.0.120.0040.00416.80
8.0.110.0040.00416.77
8.0.100.0080.00016.79
8.0.90.0000.00716.73
8.0.80.0120.00916.80
8.0.70.0000.00816.63
8.0.60.0030.00516.68
8.0.50.0040.00416.65
8.0.30.0030.01617.00
8.0.20.0080.01117.40
8.0.10.0000.00716.86
8.0.00.0110.01216.69
7.4.330.0000.00515.06
7.4.320.0060.00016.43
7.4.300.0030.00316.57
7.4.290.0030.00516.47
7.4.280.0000.00716.43
7.4.270.0030.00316.55
7.4.260.0070.00016.50
7.4.250.0050.00216.36
7.4.240.0030.00316.54
7.4.230.0070.00016.20
7.4.220.0070.01116.64
7.4.210.0080.00516.56
7.4.200.0080.00016.52
7.4.190.0040.00216.61
7.4.160.0140.00016.21
7.4.150.0040.01317.40
7.4.140.0060.01117.86
7.4.130.0080.01116.43
7.4.120.0150.00516.44
7.4.110.0060.01016.23
7.4.100.0060.01416.55
7.4.90.0100.01316.47
7.4.80.0060.01119.39
7.4.70.0160.00016.39
7.4.60.0100.00616.62
7.4.50.0030.00616.50
7.4.40.0080.01122.77
7.4.30.0110.00416.10
7.4.00.0080.01114.93
7.3.330.0000.00513.00
7.3.320.0000.00713.04
7.3.310.0000.00716.08
7.3.300.0070.00016.20
7.3.290.0070.00816.18
7.3.280.0080.01016.22
7.3.270.0090.00817.40
7.3.260.0130.00316.28
7.3.250.0120.00716.28
7.3.240.0100.01016.56
7.3.230.0060.01316.39
7.3.210.0080.00816.10
7.3.200.0130.00319.39
7.3.190.0200.00216.39
7.3.180.0160.00016.35
7.3.170.0110.00416.27
7.3.160.0100.01016.28
7.3.120.0090.00814.77
7.3.110.0100.00714.57
7.3.100.0080.00814.75
7.3.90.0040.01114.82
7.3.80.0040.00814.57
7.3.70.0080.00614.70
7.3.60.0070.00614.68
7.3.50.0050.01214.75
7.3.40.0080.00314.63
7.3.30.0070.00814.70
7.3.20.0020.01216.50
7.3.10.0060.00616.56
7.3.00.0060.00716.54
7.2.330.0100.00716.54
7.2.320.0060.01616.55
7.2.310.0180.00716.64
7.2.300.0100.00716.63
7.2.290.0080.00916.43
7.2.250.0080.01115.02
7.2.240.0050.01214.82
7.2.230.0090.00614.88
7.2.220.0090.00314.85
7.2.210.0060.00814.79
7.2.200.0070.00914.85
7.2.190.0090.00215.09
7.2.180.0030.01314.91
7.2.170.0050.00714.90
7.1.330.0070.00715.63
7.1.320.0020.01215.72
7.1.310.0080.00715.61
7.1.300.0030.01015.70
7.1.290.0080.00815.52
7.1.280.0030.01015.55
7.1.270.0000.01015.47
7.1.260.0040.00915.60
7.1.100.0000.01117.87
7.1.70.0070.00417.07
7.1.60.0090.01519.31
7.1.50.0070.00716.54
7.1.00.0030.07722.35
7.0.200.0130.00916.75
7.0.140.0100.07321.96
7.0.60.0100.07019.80
7.0.50.0170.06317.89
7.0.40.0170.07720.40
7.0.30.0330.07320.13
7.0.20.0270.06720.26
7.0.10.0270.07020.25
7.0.00.0170.06320.21
5.6.280.0170.06721.11
5.6.210.0270.06720.68
5.6.200.0070.05318.19
5.6.190.0230.07720.48
5.6.180.0200.05320.64
5.6.170.0300.08320.45
5.6.160.0130.03720.47
5.6.150.0170.06318.19
5.6.140.0000.04718.14
5.6.130.0100.07718.16
5.6.120.0100.06021.06
5.6.110.0070.08020.97
5.6.100.0070.09320.97
5.6.90.0030.07020.87
5.6.80.0170.07720.43
5.5.350.0070.08320.43
5.5.340.0130.07018.01
5.5.330.0170.04320.18
5.5.320.0200.04320.41
5.5.310.0200.04320.26
5.5.300.0070.05018.02
5.5.290.0100.07717.98
5.5.280.0070.09320.89
5.5.270.0130.07320.79
5.5.260.0030.04320.64
5.5.250.0100.06020.68
5.5.240.0030.03720.04
5.4.450.0130.03719.46
5.4.440.1200.06019.47
5.4.430.0730.04319.38
5.4.420.0600.03719.41
5.4.410.0770.03719.27
5.4.400.1070.03319.10
5.4.390.0730.03319.24
5.4.380.0530.07018.74
5.4.370.0400.07018.49
5.4.360.0470.06018.77
5.4.350.0570.06718.80
5.4.340.0430.06018.71
5.4.320.0150.03612.51
5.4.310.0130.04012.51
5.4.300.0200.03412.52
5.4.290.0140.05812.51
5.4.280.0160.03512.41
5.4.270.0180.03512.41
5.4.260.0190.03612.41
5.4.250.0200.03812.41
5.4.240.0150.03712.41
5.4.230.0130.04112.40
5.4.220.0160.03712.40
5.4.210.0160.03612.40
5.4.200.0170.03812.40
5.4.190.0230.04412.38
5.4.180.0270.04112.38
5.4.170.0230.04412.39
5.4.160.0230.04612.38
5.4.150.0460.08412.38
5.4.140.0230.04712.06
5.4.130.0290.04212.05
5.4.120.0300.07112.01
5.4.110.0290.04212.00
5.4.100.0430.08512.01
5.4.90.0250.04312.01
5.4.80.0240.04312.00
5.4.70.0270.03912.00
5.4.60.0490.05212.00
5.4.50.0240.04212.00
5.4.40.0210.04511.99
5.4.30.0320.07311.99
5.4.20.0220.04511.99
5.4.10.0250.04311.99
5.4.00.0220.04411.48
5.3.290.0160.04412.80
5.3.280.0110.03512.71
5.3.270.0240.04612.72
5.3.260.0260.04412.72
5.3.250.0610.07712.72
5.3.240.0190.05012.72
5.3.230.0260.04512.71
5.3.220.0260.04412.68
5.3.210.0240.04512.68
5.3.200.0510.11012.68
5.3.190.0260.04512.68
5.3.180.0230.04812.67
5.3.170.0440.05912.67
5.3.160.0250.04412.67
5.3.150.0230.04712.67
5.3.140.0370.09212.66
5.3.130.0330.03912.66
5.3.120.0270.04412.66
5.3.110.0420.08712.66
5.3.100.0240.04612.12
5.3.90.0230.04512.10
5.3.80.0220.04712.09
5.3.70.0230.04612.09
5.3.60.0420.08712.07
5.3.50.0240.04512.03
5.3.40.0260.04712.03
5.3.30.0490.07811.99
5.3.20.0280.03911.77
5.3.10.0210.04411.73
5.3.00.0260.04111.71
5.2.170.0200.0379.21
5.2.160.0380.0789.22
5.2.150.0130.0449.21
5.2.140.0360.0519.21
5.2.130.0200.0369.17
5.2.120.0230.0339.18
5.2.110.0160.0419.18
5.2.100.0220.0389.18
5.2.90.0690.0579.18
5.2.80.0210.0369.17
5.2.70.0250.0359.17
5.2.60.0640.0839.13
5.2.50.0220.0369.09
5.2.40.0430.0779.07
5.2.30.0230.0359.05
5.2.20.0320.0569.04
5.2.10.0300.0578.94
5.2.00.0180.0378.80
5.1.60.0080.0308.05
5.1.50.0110.0298.04
5.1.40.0110.0308.03
5.1.30.0250.0478.38
5.1.20.0120.0318.40
5.1.10.0140.0318.12
5.1.00.0120.0308.12
5.0.50.0120.0256.60
5.0.40.0340.0616.45
5.0.30.0090.0396.27
5.0.20.0130.0206.25
5.0.10.0090.0256.22
5.0.00.0210.0866.21
4.4.90.0100.0154.78
4.4.80.0080.0194.75
4.4.70.0070.0214.75
4.4.60.0110.0154.76
4.4.50.0060.0214.77
4.4.40.0090.0324.71
4.4.30.0070.0244.76
4.4.20.0080.0194.84
4.4.10.0090.0244.85
4.4.00.0100.0294.76
4.3.110.0080.0174.67
4.3.100.0310.0574.66
4.3.90.0110.0134.63
4.3.80.0070.0274.58
4.3.70.0110.0164.63
4.3.60.0100.0164.63
4.3.50.0070.0184.63
4.3.40.0070.0294.54
4.3.30.0030.0203.29
4.3.20.0200.0663.26
4.3.10.0080.0163.23
4.3.00.0170.01315.63

preferences:
41.53 ms | 400 KiB | 5 Q