3v4l.org

run code in 300+ PHP versions simultaneously
<?php $gz = function_exists('gzcompress') && function_exists('gzuncompress'); var_dump($gz);

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.0090.00618.18
8.3.50.0110.00418.18
8.3.40.0090.00918.84
8.3.30.0030.01218.54
8.3.20.0070.01020.04
8.3.10.0080.00020.53
8.3.00.0080.00021.95
8.2.180.0100.00716.38
8.2.170.0040.01122.96
8.2.160.0100.00320.47
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00022.24
8.2.120.0040.00426.35
8.2.110.0090.00022.08
8.2.100.0060.00617.91
8.2.90.0030.00618.99
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0060.00318.04
8.2.50.0000.00818.10
8.2.40.0040.00420.64
8.2.30.0040.00419.24
8.2.20.0000.00818.05
8.2.10.0000.00718.05
8.2.00.0000.00717.95
8.1.280.0030.01025.92
8.1.270.0040.00422.19
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0030.00623.85
8.1.230.0070.00417.83
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0040.00417.22
8.1.190.0050.00317.23
8.1.180.0080.00018.10
8.1.170.0040.00418.59
8.1.160.0000.00718.88
8.1.150.0050.00218.63
8.1.140.0000.00819.06
8.1.130.0030.00318.92
8.1.120.0000.00717.39
8.1.110.0000.00817.39
8.1.100.0040.00417.45
8.1.90.0000.00817.43
8.1.80.0030.00617.48
8.1.70.0000.00717.45
8.1.60.0000.00917.63
8.1.50.0040.00417.43
8.1.40.0030.00617.55
8.1.30.0000.00817.64
8.1.20.0000.00817.47
8.1.10.0000.00817.45
8.1.00.0040.00817.35
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0000.00718.29
8.0.270.0000.00717.15
8.0.260.0030.00318.75
8.0.250.0040.00416.84
8.0.240.0000.00716.93
8.0.230.0000.00716.89
8.0.220.0000.00716.84
8.0.210.0070.00016.92
8.0.200.0000.00616.99
8.0.190.0000.00716.81
8.0.180.0030.00516.79
8.0.170.0080.00016.74
8.0.160.0040.00416.87
8.0.150.0080.00016.71
8.0.140.0040.00416.70
8.0.130.0060.00013.31
8.0.120.0030.00616.90
8.0.110.0040.00416.82
8.0.100.0070.00016.88
8.0.90.0040.00416.81
8.0.80.0050.01116.86
8.0.70.0000.00716.73
8.0.60.0040.00416.95
8.0.50.0030.00516.91
8.0.30.0050.01217.18
8.0.20.0130.00717.40
8.0.10.0040.00416.88
8.0.00.0120.00616.75
7.4.330.0040.00015.55
7.4.320.0000.00616.47
7.4.300.0030.00316.52
7.4.290.0080.00016.59
7.4.280.0050.00316.50
7.4.270.0000.00816.59
7.4.260.0030.00616.39
7.4.250.0030.00316.48
7.4.240.0030.00416.53
7.4.230.0040.00416.63
7.4.220.0140.00316.66
7.4.210.0090.00516.43
7.4.200.0030.00316.46
7.4.160.0080.00716.31
7.4.150.0210.00017.40
7.4.140.0090.01117.86
7.4.130.0120.01216.43
7.4.120.0100.01016.46
7.4.110.0100.00716.54
7.4.100.0040.01716.37
7.4.90.0130.00316.50
7.4.80.0100.00619.39
7.4.70.0080.00816.54
7.4.60.0130.00216.35
7.4.50.0060.00916.57
7.4.40.0100.00716.54
7.4.30.0120.00616.61
7.4.00.0050.01214.72
7.3.330.0000.00613.02
7.3.320.0000.00613.04
7.3.310.0040.00416.07
7.3.300.0020.00516.23
7.3.290.0000.00816.19
7.3.280.0120.00816.10
7.3.270.0170.00017.40
7.3.260.0110.00616.31
7.3.250.0070.01016.27
7.3.240.0100.00816.23
7.3.230.0100.00716.23
7.3.210.0070.01016.14
7.3.200.0120.00916.02
7.3.190.0100.00616.34
7.3.180.0090.00616.52
7.3.170.0100.00716.14
7.3.160.0100.01016.38
7.3.120.0090.01014.64
7.3.110.0100.01014.72
7.3.100.0050.00514.51
7.3.90.0130.00314.81
7.3.80.0120.00314.65
7.3.70.0110.00414.72
7.3.60.0070.00714.66
7.3.50.0130.00314.78
7.3.40.0000.01014.82
7.3.30.0080.00614.59
7.3.20.0030.01016.65
7.3.10.0030.00916.52
7.3.00.0000.00916.50
7.2.330.0060.01016.51
7.2.320.0100.00716.44
7.2.310.0090.00916.24
7.2.300.0030.01916.48
7.2.290.0100.00616.50
7.2.250.0120.00614.80
7.2.240.0060.01214.87
7.2.230.0030.01015.16
7.2.220.0100.00414.62
7.2.210.0000.01414.90
7.2.200.0100.00314.90
7.2.190.0030.01015.07
7.2.180.0040.00714.97
7.2.170.0070.00414.96
7.2.60.0090.00616.64
7.2.00.0180.00717.42
7.1.330.0000.01215.84
7.1.320.0060.00615.75
7.1.310.0000.01415.78
7.1.300.0090.00315.39
7.1.290.0120.00415.89
7.1.280.0060.00615.69
7.1.270.0050.00515.38
7.1.260.0060.00315.77
7.1.200.0040.00815.50
7.1.120.0100.01016.69
7.1.110.0120.00916.29
7.1.100.0150.00916.15
7.1.90.0190.00916.16
7.1.80.0140.01416.08
7.1.70.0160.01015.13
7.1.60.0320.01933.00
7.1.50.0240.01432.63
7.1.40.0330.01032.42
7.1.30.0310.00632.52
7.1.20.0270.00832.54
7.1.10.0080.01614.63
7.1.00.0110.01114.55

preferences:
48.12 ms | 400 KiB | 5 Q