3v4l.org

run code in 300+ PHP versions simultaneously
<?php $compressed = gzcompress('Compress me', 9); echo urlencode(base64_encode($compressed));

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.0150.00416.63
8.3.50.0130.00721.21
8.3.40.0070.00718.84
8.3.30.0110.00419.29
8.3.20.0040.00420.34
8.3.10.0050.00322.00
8.3.00.0080.00017.59
8.2.180.0110.00718.41
8.2.170.0100.01019.08
8.2.160.0120.00322.96
8.2.150.0040.00425.66
8.2.140.0060.00324.66
8.2.130.0080.00026.16
8.2.120.0030.00620.88
8.2.110.0000.01019.39
8.2.100.0130.00017.72
8.2.90.0030.00519.34
8.2.80.0080.00017.97
8.2.70.0040.00417.63
8.2.60.0030.00518.05
8.2.50.0000.00818.07
8.2.40.0050.00319.88
8.2.30.0000.00718.27
8.2.20.0040.00417.74
8.2.10.0080.00018.06
8.2.00.0000.00718.07
8.1.280.0120.00325.92
8.1.270.0080.00820.49
8.1.260.0070.00026.35
8.1.250.0030.00528.09
8.1.240.0100.00722.33
8.1.230.0070.00419.13
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0060.00317.23
8.1.190.0040.00417.35
8.1.180.0000.00818.10
8.1.170.0040.00418.61
8.1.160.0030.00522.00
8.1.150.0040.00420.59
8.1.140.0020.00517.54
8.1.130.0070.00017.80
8.1.120.0000.00717.55
8.1.110.0060.00317.48
8.1.100.0040.00417.48
8.1.90.0030.00517.51
8.1.80.0030.00317.45
8.1.70.0030.00317.43
8.1.60.0030.00617.72
8.1.50.0040.00417.61
8.1.40.0080.00017.64
8.1.30.0050.00317.82
8.1.20.0060.00317.81
8.1.10.0040.00417.69
8.1.00.0000.01017.61
8.0.300.0060.00318.77
8.0.290.0040.00416.75
8.0.280.0030.00318.57
8.0.270.0040.00417.30
8.0.260.0040.00417.28
8.0.250.0000.00717.02
8.0.240.0070.00017.03
8.0.230.0000.00716.96
8.0.220.0000.00716.92
8.0.210.0030.00316.98
8.0.200.0060.00016.93
8.0.190.0000.00717.00
8.0.180.0030.00616.92
8.0.170.0030.00517.02
8.0.160.0040.00416.85
8.0.150.0030.00516.89
8.0.140.0040.00417.01
8.0.130.0030.00313.40
8.0.120.0000.00816.84
8.0.110.0070.00016.88
8.0.100.0080.00016.82
8.0.90.0040.00416.81
8.0.80.0120.00916.97
8.0.70.0040.00417.06
8.0.60.0050.00216.84
8.0.50.0000.00716.92
8.0.30.0100.00717.18
8.0.20.0140.00617.40
8.0.10.0050.00317.05
8.0.00.0120.00716.83
7.4.330.0000.00515.04
7.4.320.0000.00716.65
7.4.300.0030.00316.69
7.4.290.0030.00616.70
7.4.280.0000.00816.54
7.4.270.0070.00016.59
7.4.260.0070.00016.58
7.4.250.0000.00716.55
7.4.240.0020.00516.65
7.4.230.0030.00316.51
7.4.220.0100.01016.68
7.4.210.0030.01216.66
7.4.200.0000.00716.50
7.4.160.0070.01016.65
7.4.150.0080.00817.40
7.4.140.0130.00617.86
7.4.130.0110.01016.48
7.4.120.0080.01016.56
7.4.110.0070.01016.51
7.4.100.0100.00716.64
7.4.90.0140.01016.57
7.4.80.0110.01119.39
7.4.70.0060.01316.52
7.4.60.0070.01016.36
7.4.50.0050.00316.48
7.4.40.0090.01216.83
7.4.30.0090.00916.71
7.4.00.0030.01315.15
7.3.330.0020.00513.20
7.3.320.0020.00213.14
7.3.310.0030.00316.44
7.3.300.0030.00316.14
7.3.290.0080.00616.31
7.3.280.0060.01416.29
7.3.270.0090.00917.40
7.3.260.0060.01016.75
7.3.250.0100.00816.48
7.3.240.0070.01016.37
7.3.230.0070.01016.54
7.3.210.0040.01316.68
7.3.200.0180.00019.39
7.3.190.0060.00916.36
7.3.180.0100.01016.21
7.3.170.0100.01016.51
7.3.160.0100.00616.56
7.3.120.0070.01115.02
7.3.110.0090.00614.64
7.3.100.0120.00614.89
7.3.90.0060.00914.77
7.3.80.0060.00614.67
7.3.70.0120.00314.86
7.3.60.0080.00814.94
7.3.50.0070.00714.72
7.3.40.0090.00614.98
7.3.30.0070.00714.87
7.3.20.0070.00716.73
7.3.10.0030.00716.39
7.3.00.0060.00616.69
7.2.330.0030.01416.80
7.2.320.0100.01016.88
7.2.310.0070.01616.83
7.2.300.0100.00916.69
7.2.290.0170.00316.79
7.2.240.0090.00614.87
7.2.230.0040.01115.09
7.2.220.0070.00715.03
7.2.210.0080.00615.29
7.2.200.0030.00914.98
7.2.190.0060.00915.05
7.2.180.0120.00315.17
7.2.170.0030.00715.28
7.2.160.0050.00515.25
7.2.150.0000.01416.59
7.2.140.0030.01016.66
7.2.130.0030.00716.92
7.2.120.0080.00416.84
7.2.110.0560.01216.58
7.2.100.0060.01316.91
7.2.90.0030.01216.61
7.2.80.0030.01616.84
7.2.70.0050.00516.91
7.2.60.0090.00516.70
7.2.50.0070.00716.34
7.2.40.0080.00616.95
7.2.30.0000.01216.98
7.2.20.0060.00616.70
7.2.10.0030.00916.72
7.2.00.0030.01018.08
7.1.330.0030.01015.57
7.1.320.0070.01015.86
7.1.310.0030.01215.71
7.1.300.0030.01015.81
7.1.290.0040.01215.46
7.1.280.0100.00315.79
7.1.270.0000.00915.75
7.1.260.0050.00315.66
7.1.250.0120.00015.91
7.1.200.0060.00615.49
7.1.100.0060.00617.71
7.1.70.0060.00917.27
7.1.60.0100.01019.59
7.1.50.0060.01216.88
7.1.00.0070.07022.38
7.0.200.0030.00616.73
7.0.60.0100.07720.14
7.0.50.0100.05717.91
7.0.40.0000.05720.14
7.0.30.0300.07720.18
7.0.20.0300.06320.05
7.0.10.0100.08320.10
7.0.00.0070.05020.11
5.6.280.0000.07720.94
5.6.210.0100.07320.77
5.6.200.0100.06318.35
5.6.190.0100.04320.69
5.6.180.0570.06720.30
5.6.170.0270.08020.42
5.6.160.0030.06320.43
5.6.150.0070.05018.21
5.6.140.0070.04718.32
5.6.130.0100.08318.32
5.6.120.0100.08721.18
5.6.110.0070.04021.28
5.6.100.0170.07321.15
5.6.90.0030.05021.30
5.6.80.0100.07720.52
5.5.350.0200.07720.48
5.5.340.0100.07718.00
5.5.330.0030.04720.29
5.5.320.0030.08320.31
5.5.310.0130.04020.29
5.5.300.0100.07018.00
5.5.290.0070.07718.09
5.5.280.0070.08020.96
5.5.270.0070.05720.92
5.5.260.0070.05020.92
5.5.250.0070.06020.73
5.5.240.0130.07020.43
5.4.450.3400.03719.22
5.4.440.3370.04019.63
5.4.430.3300.04719.23
5.4.420.3570.03319.66
5.4.410.3500.04019.53
5.4.400.3030.04319.18
5.4.390.3270.04018.87
5.4.380.3170.04018.91
5.4.370.3900.04319.19
5.4.360.3230.03319.16
5.4.350.3370.03718.95
5.4.340.3430.04319.20
5.4.320.3500.03319.18
5.4.310.3570.03719.18
5.4.300.3330.03719.02
5.4.290.3470.03319.17
5.4.280.3430.03319.17
5.4.270.3430.03719.16
5.4.260.3870.04018.87
5.4.250.0370.03319.33
5.4.240.1230.03319.12
5.4.230.3430.03719.16
5.4.220.3430.03719.02
5.4.210.3370.04018.88
5.4.200.3400.03719.15
5.4.190.3400.03719.15
5.4.180.3400.03019.11
5.4.170.3770.03318.91
5.4.160.3300.04719.00
5.4.150.3400.03719.16
5.4.140.0100.03016.48
5.4.130.0030.03316.66
5.4.120.3330.04016.52
5.4.110.3400.03016.48
5.4.100.3470.03016.56
5.4.90.3170.03316.19
5.4.80.3100.03716.43
5.4.70.3370.03016.43
5.4.60.3470.02716.44
5.4.50.3430.03016.45
5.4.40.3800.03316.16
5.4.30.3500.04016.50
5.4.20.3470.03316.53
5.4.10.3170.03316.28
5.4.00.3530.03315.86
5.3.290.3270.04014.75
5.3.280.3530.03714.79
5.3.270.3630.04014.61
5.3.260.3330.04014.66
5.3.250.3430.02714.75
5.3.240.0100.04014.55
5.3.230.1770.03314.65
5.3.220.3100.02314.51
5.3.210.3500.03714.62
5.3.200.3400.03314.52
5.3.190.3230.03314.61
5.3.180.3470.03714.60
5.3.170.3830.03714.55
5.3.160.3370.03714.75
5.3.150.3330.03714.70
5.3.140.3400.03314.68
5.3.130.3400.04314.59
5.3.120.3530.03314.60
5.3.110.3970.03314.48
5.3.100.3200.03314.18
5.3.90.4270.03714.03
5.3.80.3400.03313.97
5.3.70.3330.04014.07
5.3.60.3630.04014.20
5.3.50.3600.03313.93
5.3.40.3470.03713.90
5.3.30.3630.04013.88
5.3.20.3430.03013.64
5.3.10.3500.03313.79
5.3.00.3300.03013.54
5.2.170.2970.02311.28
5.2.160.2770.03011.11
5.2.150.3130.03711.27
5.2.140.2630.02711.30
5.2.130.3230.03711.03
5.2.120.2870.02311.05
5.2.110.2800.02711.36
5.2.100.2300.03011.05
5.2.90.3000.02311.25
5.2.80.2900.03011.03
5.2.70.2800.02711.14
5.2.60.2830.02711.00
5.2.50.2870.02711.01
5.2.40.2270.02711.00
5.2.30.2400.03310.97
5.2.20.2270.03011.06
5.2.10.2200.03310.82
5.2.00.2530.03310.78
5.1.60.2230.02310.07
5.1.50.2630.02710.04
5.1.40.2470.0179.98
5.1.30.2300.02310.28
5.1.20.2330.01710.27
5.1.10.2230.0279.96
5.1.00.2330.01710.11
5.0.50.0830.0238.65
5.0.40.1130.0208.30
5.0.30.1070.0338.30
5.0.20.1100.0208.30
5.0.10.1200.0178.32
5.0.00.1130.0338.30
4.4.90.1200.0108.30
4.4.80.1130.0138.30
4.4.70.1170.0178.30
4.4.60.1100.0178.30
4.4.50.1100.0178.30
4.4.40.1130.0238.30
4.4.30.1330.0208.30
4.4.20.1100.0178.30
4.4.10.1170.0178.30
4.4.00.0870.0238.30
4.3.110.1100.0178.30
4.3.100.1300.0178.30
4.3.90.1100.0178.30
4.3.80.1070.0238.30
4.3.70.1130.0138.30
4.3.60.1130.0138.30
4.3.50.1170.0108.30
4.3.40.0570.0308.30
4.3.30.0570.0178.30
4.3.20.0500.0178.30
4.3.10.0430.0178.30
4.3.00.0330.0178.30

preferences:
59.44 ms | 401 KiB | 5 Q