3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Generate a load of "random" input $strings = array_map('md5', range(1, 100)); $bucketCount = 10; $buckets = []; foreach ($strings as $string) { $key = crc32($string) % $bucketCount; $buckets[$key][] = $string; } print_r($buckets);

Abusive script

This script was stopped while abusing our resources

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.110.0080.00320.94
8.3.100.0040.00416.50
8.3.90.0060.00316.52
8.3.80.0060.00317.97
8.3.70.0100.01016.50
8.3.60.0120.00918.15
8.3.50.0110.00824.57
8.3.40.0060.00918.86
8.3.30.0100.00718.72
8.3.20.0100.00021.66
8.3.10.0080.00021.92
8.3.00.0040.00423.52
8.2.230.0090.00322.58
8.2.220.0040.00424.06
8.2.210.0080.00026.77
8.2.200.0060.00316.63
8.2.190.0030.01416.75
8.2.180.0090.00618.13
8.2.170.0110.00422.96
8.2.160.0100.00322.05
8.2.150.0070.00024.18
8.2.140.0040.00424.66
8.2.130.0090.00026.16
8.2.120.0000.00826.16
8.2.110.0060.00320.53
8.2.100.0120.00017.97
8.2.90.0060.00317.88
8.2.80.0000.00818.78
8.2.70.0030.00617.93
8.2.60.0040.00418.22
8.2.50.0050.00319.17
8.2.40.0040.00821.15
8.2.30.0000.01019.23
8.2.20.0040.00418.19
8.2.10.0050.00219.24
8.2.00.0090.00019.31
8.1.290.0000.01118.88
8.1.280.0100.00725.92
8.1.270.0060.00323.99
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0090.00019.20
8.1.230.0080.00317.57
8.1.220.0000.00817.79
8.1.210.0040.00418.77
8.1.200.0090.00017.47
8.1.190.0030.00517.36
8.1.180.0030.00618.94
8.1.170.0090.00018.64
8.1.160.0000.00719.02
8.1.150.0030.00518.82
8.1.140.0000.00718.77
8.1.130.0060.00320.14
8.1.120.0030.00517.37
8.1.110.0070.00017.49
8.1.100.0000.00817.32
8.1.90.0060.00317.37
8.1.80.0000.00817.38
8.1.70.0030.00317.43
8.1.60.0040.00417.48
8.1.50.0040.00417.55
8.1.40.0030.00517.52
8.1.30.0040.00417.66
8.1.20.0030.00517.64
8.1.10.0020.00517.48
8.1.00.0040.00417.47
8.0.300.0000.00718.77
8.0.290.0000.00816.75
8.0.280.0000.00718.44
8.0.270.0030.00416.74
8.0.260.0030.00318.37
8.0.250.0030.00317.00
8.0.240.0060.00316.92
8.0.230.0030.00316.85
8.0.220.0030.00416.81
8.0.210.0070.00016.89
8.0.200.0000.00817.00
8.0.190.0000.00717.00
8.0.180.0000.00816.75
8.0.170.0030.00616.95
8.0.160.0080.00016.92
8.0.150.0040.00416.71
8.0.140.0000.00716.86
8.0.130.0030.00313.32
8.0.120.0000.00716.87
8.0.110.0040.00416.92
8.0.100.0070.00016.70
8.0.90.0030.00616.80
8.0.80.0090.00616.85
8.0.70.0040.00416.91
8.0.60.0000.00716.77
8.0.50.0000.00716.77
8.0.30.0100.00716.95
8.0.20.0170.00317.40
8.0.10.0000.00716.89
8.0.00.0000.01816.86
7.4.330.0000.00515.55
7.4.320.0030.00316.61
7.4.300.0000.00616.51
7.4.290.0040.00416.52
7.4.280.0080.00016.61
7.4.270.0040.00416.45
7.4.260.0050.00013.29
7.4.250.0030.00316.44
7.4.240.0060.00216.48
7.4.230.0000.00816.64
7.4.220.0020.00516.62
7.4.210.0050.01216.58
7.4.200.0040.00316.53
7.4.130.0070.01116.57
7.4.120.0080.00816.51
7.4.110.0160.00316.55
7.4.100.0100.01016.50
7.4.90.0090.00916.48
7.4.80.0130.00319.39
7.4.70.0080.00916.59
7.4.60.0100.00616.66
7.4.50.0100.00716.31
7.4.40.0100.01316.34
7.4.30.0040.01416.49
7.4.20.0080.01316.59
7.4.10.0100.01116.34
7.4.00.0040.01416.61
7.3.330.0070.00016.26
7.3.320.0050.00013.08
7.3.310.0040.00416.21
7.3.300.0000.00716.36
7.3.290.0130.00516.39
7.3.260.0150.01216.68
7.3.240.0080.01016.34
7.3.230.0090.00916.37
7.3.210.0070.01016.59
7.3.200.0110.00616.70
7.3.190.0070.01016.43
7.3.180.0090.00916.25
7.3.170.0080.01616.21
7.3.160.0090.01216.51
7.3.150.0190.00316.46
7.3.140.0150.00416.59
7.3.130.0090.00916.56
7.3.120.0080.00816.28
7.3.110.0110.00816.43
7.3.100.0110.00816.45
7.3.90.0120.00816.28
7.3.80.0070.01116.25
7.3.70.0100.01016.31
7.3.60.0130.00516.25
7.3.50.0090.00916.44
7.3.40.0140.00716.23
7.3.30.0100.01316.29
7.3.20.0090.01516.29
7.3.10.0160.00316.32
7.3.00.0080.01716.21
7.2.330.0130.01016.62
7.2.320.0100.01316.73
7.2.310.0150.00616.69
7.2.300.0140.00416.63
7.2.290.0120.00816.60
7.2.280.0180.00316.71
7.2.270.0100.01016.74
7.2.260.0160.00316.81
7.2.250.0120.01216.57
7.2.240.0090.00916.49
7.2.230.0110.00716.66
7.2.220.0090.00916.34
7.2.210.0150.00616.61
7.2.200.0060.01216.67
7.2.190.0160.00416.42
7.2.180.0140.00716.57
7.2.170.0110.00716.48
7.2.160.0060.01716.54
7.2.150.0080.01216.46
7.2.140.0120.01516.78
7.2.130.0090.01016.56
7.2.120.0110.00716.53
7.2.110.0080.01116.61
7.2.100.0260.00916.70
7.2.90.0080.01116.61
7.2.80.0080.01216.71
7.2.70.0100.00716.55
7.2.60.0090.01016.50
7.2.50.0230.00016.61
7.2.40.0100.01016.70
7.2.30.0230.00016.61
7.2.20.0090.01216.60
7.2.10.0080.01316.63
7.2.00.0070.01516.55

preferences:
35.17 ms | 403 KiB | 5 Q