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}}'); 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.70.0070.00718.15
8.3.60.0040.01216.38
8.3.50.0120.01021.98
8.3.40.0080.00818.54
8.3.30.0120.00318.80
8.3.20.0000.00720.36
8.3.10.0060.00323.41
8.3.00.0070.00020.80
8.2.190.0040.01120.14
8.2.180.0080.00818.46
8.2.170.0090.00622.96
8.2.160.0130.00320.43
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0030.00526.16
8.2.120.0040.00422.26
8.2.110.0030.00619.44
8.2.100.0090.00317.50
8.2.90.0050.00319.13
8.2.80.0040.00417.97
8.2.70.0040.00417.50
8.2.60.0040.00417.90
8.2.50.0000.00818.07
8.2.40.0050.00319.57
8.2.30.0070.00017.95
8.2.20.0000.00717.50
8.2.10.0000.00717.67
8.2.00.0040.00417.49
8.1.280.0090.01225.92
8.1.270.0090.00023.98
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0030.00622.71
8.1.230.0040.00817.42
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0070.00317.23
8.1.190.0080.00017.10
8.1.180.0050.00318.10
8.1.170.0060.00320.25
8.1.160.0070.00021.81
8.1.150.0030.00618.45
8.1.140.0000.00817.28
8.1.130.0070.00017.76
8.1.120.0070.00017.39
8.1.110.0040.00417.34
8.1.100.0060.00317.39
8.1.90.0040.00417.36
8.1.80.0030.00317.32
8.1.70.0000.00717.30
8.1.60.0040.00417.40
8.1.50.0030.00617.49
8.1.40.0050.00317.46
8.1.30.0050.00317.61
8.1.20.0040.00417.58
8.1.10.0030.00517.44
8.1.00.0080.00317.30
8.0.300.0070.00018.77
8.0.290.0030.00316.63
8.0.280.0000.00718.48
8.0.270.0040.00417.18
8.0.260.0040.00416.80
8.0.250.0000.00716.88
8.0.240.0000.00716.75
8.0.230.0000.00716.75
8.0.220.0060.00016.75
8.0.210.0040.00416.71
8.0.200.0000.00616.90
8.0.190.0000.00816.79
8.0.180.0040.00416.80
8.0.170.0080.00016.76
8.0.160.0040.00416.79
8.0.150.0050.00316.86
8.0.140.0000.00816.65
8.0.130.0030.00313.22
8.0.120.0050.00316.79
8.0.110.0040.00416.75
8.0.100.0000.00716.73
8.0.90.0000.00716.60
8.0.80.0100.00716.85
8.0.70.0060.00316.89
8.0.60.0030.00616.72
8.0.50.0050.00216.82
8.0.30.0110.00917.19
8.0.20.0110.00717.40
8.0.10.0000.00817.02
8.0.00.0060.01316.79
7.4.330.0060.00015.00
7.4.320.0070.00016.46
7.4.300.0030.00316.55
7.4.290.0020.00516.36
7.4.280.0000.00716.57
7.4.270.0030.00316.49
7.4.260.0000.00716.45
7.4.250.0030.00516.49
7.4.240.0030.00316.44
7.4.230.0000.00716.63
7.4.220.0030.02016.47
7.4.210.0070.01116.46
7.4.200.0040.00416.60
7.4.190.0040.00416.43
7.4.160.0030.01216.54
7.4.150.0100.00717.40
7.4.140.0120.00517.86
7.4.130.0100.00616.44
7.4.120.0070.01016.41
7.4.110.0090.00916.37
7.4.100.0130.00416.37
7.4.90.0030.01616.27
7.4.80.0090.00919.39
7.4.70.0030.01316.45
7.4.60.0030.01416.37
7.4.50.0060.00316.51
7.4.40.0030.01022.77
7.4.30.0170.00016.37
7.4.00.0060.01014.96
7.3.330.0050.00012.98
7.3.320.0000.00612.95
7.3.310.0030.00316.10
7.3.300.0030.00316.15
7.3.290.0140.00016.09
7.3.280.0080.01016.13
7.3.270.0070.01017.40
7.3.260.0090.00916.38
7.3.250.0100.01116.20
7.3.240.0050.01016.42
7.3.230.0130.00616.39
7.3.210.0090.00916.19
7.3.200.0110.00619.39
7.3.190.0090.00816.07
7.3.180.0000.01516.39
7.3.170.0060.00916.27
7.3.160.0090.00616.25
7.3.120.0120.00514.77
7.3.110.0070.01014.69
7.3.100.0060.00914.27
7.3.90.0030.00614.88
7.3.80.0080.00414.59
7.3.70.0060.00314.71
7.3.60.0000.01214.84
7.3.50.0070.00714.78
7.3.40.0060.00314.65
7.3.30.0070.00714.58
7.3.20.0060.00916.53
7.3.10.0030.00616.34
7.3.00.0030.00816.57
7.2.330.0090.00916.30
7.2.320.0120.00616.45
7.2.310.0060.01716.43
7.2.300.0090.01216.60
7.2.290.0110.00516.28
7.2.250.0070.01314.96
7.2.240.0000.02115.13
7.2.230.0030.01415.13
7.2.220.0070.00714.82
7.2.210.0040.00814.68
7.2.200.0030.01214.97
7.2.190.0090.00615.05
7.2.180.0060.00614.83
7.2.170.0060.00914.63
7.2.60.0030.01016.56
7.2.50.0210.00016.86
7.1.330.0030.00915.82
7.1.320.0030.01315.75
7.1.310.0000.01515.77
7.1.300.0120.00315.62
7.1.290.0030.01015.89
7.1.280.0040.00815.52
7.1.270.0070.00715.54
7.1.260.0040.00415.54
7.1.200.0280.00015.36
7.1.70.0040.00416.80
7.1.60.0170.00719.29
7.1.50.0170.00016.67
7.1.00.0070.07322.28
7.0.200.0070.00716.56
7.0.140.0170.07022.19
7.0.60.0230.06319.84
7.0.50.0000.09317.87
7.0.40.0100.04320.21
7.0.30.0370.05720.35
7.0.20.0300.05320.12
7.0.10.0300.07720.12
7.0.00.0070.07020.19
5.6.280.0170.06720.87
5.6.210.0070.03720.46
5.6.200.0070.04018.18
5.6.190.0170.08020.45
5.6.180.0300.04720.42
5.6.170.0270.08020.44
5.6.160.0130.04320.43
5.6.150.0000.04718.26
5.6.140.0100.08718.18
5.6.130.0100.06718.18
5.6.120.0200.08021.14
5.6.110.0130.05320.98
5.6.100.0070.08721.00
5.6.90.0100.08021.01
5.6.80.0130.04720.38
5.6.70.0170.03720.36
5.5.350.0100.06320.38
5.5.340.0230.06317.94
5.5.330.0100.08320.29
5.5.320.0100.03720.24
5.5.310.0300.04720.26
5.5.300.0100.05317.94
5.5.290.0100.07017.93
5.5.280.0200.06720.88
5.5.270.0130.05320.88
5.5.260.0130.07720.77
5.5.250.0170.07020.66
5.5.240.0070.05320.19
5.4.450.0570.03719.55
5.4.440.0830.06319.51
5.4.430.0770.06719.22
5.4.420.0500.05319.39
5.4.410.0770.07019.41
5.4.400.0930.06019.32
5.4.390.0400.07319.25
5.4.380.0500.07018.63
5.4.370.0530.05018.48
5.4.360.0330.06318.81
5.4.350.0430.06718.75
5.4.340.0330.05318.80
5.4.320.0170.03512.52
5.4.310.0190.04112.51
5.4.300.0160.04412.51
5.4.290.0070.04712.52
5.4.280.0170.04812.41
5.4.270.0160.03912.41
5.4.260.0160.04512.41
5.4.250.0160.03812.41
5.4.240.0140.04412.41
5.4.230.0140.04212.40
5.4.220.0110.03512.40
5.4.210.0250.03712.40
5.4.200.0110.04712.40
5.4.190.0260.04412.38
5.4.180.0270.04112.38
5.4.170.0250.04512.39
5.4.160.0200.04912.39
5.4.150.0310.04012.38
5.4.140.0600.07212.06
5.4.130.0300.04312.05
5.4.120.0320.04112.01
5.4.110.0550.10312.01
5.4.100.0260.04512.00
5.4.90.0360.06312.00
5.4.80.0250.04612.01
5.4.70.0210.04712.00
5.4.60.0240.04312.00
5.4.50.0230.04612.00
5.4.40.0260.04211.99
5.4.30.0260.04411.99
5.4.20.0440.08611.99
5.4.10.0260.04311.99
5.4.00.0240.04811.48
5.3.290.0140.04312.80
5.3.280.0160.04112.70
5.3.270.0230.04912.72
5.3.260.0270.04612.71
5.3.250.0240.04712.72
5.3.240.0530.07912.71
5.3.230.0330.04812.70
5.3.220.0550.08612.68
5.3.210.0620.07712.68
5.3.200.0510.08212.68
5.3.190.0650.07712.68
5.3.180.0330.04312.67
5.3.170.0810.07212.67
5.3.160.0660.09912.67
5.3.150.0830.08912.67
5.3.140.0410.04112.66
5.3.130.0490.08112.66
5.3.120.0730.06712.66
5.3.110.0450.06412.66
5.3.100.0280.04212.12
5.3.90.0310.04512.10
5.3.80.0450.06412.09
5.3.70.0590.07712.09
5.3.60.0610.07412.07
5.3.50.0490.08812.03
5.3.40.0590.09012.03
5.3.30.0400.03211.99
5.3.20.0280.04811.77
5.3.10.0270.04111.73
5.3.00.0700.06711.71
5.2.170.0590.0679.22
5.2.160.0250.0359.22
5.2.150.0340.0319.21
5.2.140.0660.0629.21
5.2.130.0390.0549.17
5.2.120.0480.0759.17
5.2.110.0540.0719.18
5.2.100.0300.0359.18
5.2.90.0190.0379.18
5.2.80.0320.0349.17
5.2.70.0630.0619.17
5.2.60.0200.0379.12
5.2.50.0290.0349.09
5.2.40.0570.0669.07
5.2.30.0550.0679.04
5.2.20.0260.0389.04
5.2.10.0560.0648.94
5.2.00.0850.0988.80
5.1.60.0100.0298.04
5.1.50.0310.0708.04
5.1.40.0180.0228.03
5.1.30.0280.0758.38
5.1.20.0270.0788.40
5.1.10.0140.0288.11
5.1.00.0270.0478.12
5.0.50.0110.0236.60
5.0.40.0150.0476.45
5.0.30.0140.0936.27
5.0.20.0070.0256.25
5.0.10.0080.0236.22
5.0.00.0180.0876.21
4.4.90.0210.0684.78
4.4.80.0090.0164.76
4.4.70.0060.0194.75
4.4.60.0190.0674.75
4.4.50.0120.0144.77
4.4.40.0080.0284.71
4.4.30.0080.0184.76
4.4.20.0260.0604.84
4.4.10.0050.0214.85
4.4.00.0090.0284.76
4.3.110.0160.0704.67
4.3.100.0080.0174.66
4.3.90.0050.0204.63
4.3.80.0160.0514.58
4.3.70.0360.0514.63
4.3.60.0050.0194.63
4.3.50.0090.0164.63
4.3.40.0100.0264.54
4.3.30.0150.0353.28
4.3.20.0250.0623.27
4.3.10.0050.0193.23
4.3.00.0330.01014.49

preferences:
37.02 ms | 401 KiB | 5 Q