3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(hash_algos() as $hash){ var_dump($hash.': '.hash($hash,'foo')); }

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.0120.00316.50
8.3.50.0160.00316.49
8.3.40.0110.00418.84
8.3.30.0100.01418.84
8.3.20.0040.00420.03
8.3.10.0050.00321.73
8.3.00.0070.00417.74
8.2.180.0160.00616.63
8.2.170.0120.00322.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00019.33
8.2.120.0040.00426.35
8.2.110.0070.00420.92
8.2.100.0060.00918.03
8.2.90.0040.00419.05
8.2.80.0050.00318.04
8.2.70.0070.00717.63
8.2.60.0000.00817.92
8.2.50.0090.00018.10
8.2.40.0040.00420.42
8.2.30.0000.00821.08
8.2.20.0000.00817.96
8.2.10.0040.00418.14
8.2.00.0070.00017.93
8.1.280.0090.00625.92
8.1.270.0080.00022.24
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0000.00919.27
8.1.230.0030.00719.14
8.1.220.0040.00417.74
8.1.210.0030.00618.77
8.1.200.0070.00317.34
8.1.190.0090.00017.22
8.1.180.0000.00918.10
8.1.170.0050.00520.45
8.1.160.0000.00718.85
8.1.150.0070.00020.58
8.1.140.0070.00019.49
8.1.130.0030.00318.80
8.1.120.0040.00417.51
8.1.110.0040.00417.45
8.1.100.0000.00817.50
8.1.90.0030.00617.48
8.1.80.0000.00717.35
8.1.70.0000.00717.28
8.1.60.0060.00317.61
8.1.50.0040.00417.40
8.1.40.0000.00817.52
8.1.30.0040.00417.72
8.1.20.0030.00517.64
8.1.10.0000.00817.49
8.1.00.0080.00017.37
8.0.300.0080.00018.77
8.0.290.0040.00416.75
8.0.280.0050.00218.43
8.0.270.0040.00417.26
8.0.260.0030.00316.81
8.0.250.0030.00316.93
8.0.240.0050.00316.95
8.0.230.0000.00716.92
8.0.220.0050.00216.93
8.0.210.0000.00716.98
8.0.200.0070.00017.04
8.0.190.0060.00316.92
8.0.180.0040.00417.02
8.0.170.0040.00417.02
8.0.160.0000.00816.86
8.0.150.0050.00216.89
8.0.140.0050.00316.89
8.0.130.0040.00213.41
8.0.120.0000.00716.87
8.0.110.0000.00716.82
8.0.100.0040.00416.82
8.0.90.0000.00816.90
8.0.80.0000.01616.91
8.0.70.0050.00217.06
8.0.60.0000.00816.84
8.0.50.0050.00216.78
8.0.30.0120.00917.10
8.0.20.0140.00817.40
8.0.10.0000.00717.05
8.0.00.0140.01017.01
7.4.330.0050.00015.55
7.4.320.0000.00816.50
7.4.300.0060.00016.51
7.4.290.0060.00316.40
7.4.280.0060.00316.48
7.4.270.0070.00016.52
7.4.260.0030.00313.23
7.4.250.0040.00416.45
7.4.240.0070.00016.49
7.4.230.0070.00016.68
7.4.220.0090.00916.51
7.4.210.0100.00416.45
7.4.200.0000.00716.65
7.4.160.0080.01016.53
7.4.150.0190.00017.40
7.4.140.0100.00817.86
7.4.130.0060.01216.51
7.4.120.0090.01216.54
7.4.110.0090.00916.26
7.4.100.0160.00316.52
7.4.90.0130.00316.51
7.4.80.0090.00919.39
7.4.70.0110.00716.49
7.4.60.0100.00716.50
7.4.50.0040.01516.46
7.4.40.0060.01316.48
7.4.30.0090.00916.37
7.4.00.0040.01414.80
7.3.330.0000.00513.19
7.3.320.0000.00513.24
7.3.310.0040.00416.29
7.3.300.0000.00716.25
7.3.290.0050.00216.16
7.3.280.0080.00916.27
7.3.270.0120.00617.40
7.3.260.0140.00616.45
7.3.250.0070.01216.53
7.3.240.0120.00716.36
7.3.230.0080.01016.25
7.3.210.0030.01716.67
7.3.200.0130.00316.42
7.3.190.0160.00016.48
7.3.180.0120.00916.29
7.3.170.0060.01016.52
7.3.160.0130.00616.51
7.2.330.0120.00616.59
7.2.320.0090.00916.64
7.2.310.0040.01316.38
7.2.300.0070.01116.43
7.2.290.0140.00416.66
7.2.60.0070.01016.46
7.2.00.0040.01119.42
7.1.200.0120.00815.57
7.1.100.0070.00317.95
7.1.70.0060.00617.00
7.1.60.0170.01334.90
7.1.50.0230.00634.67
7.1.40.0190.01334.37
7.1.30.0140.01734.41
7.1.20.0250.00634.38
7.1.10.0070.00716.45
7.1.00.0000.01516.61
7.0.200.0110.00416.91
7.0.190.0030.00916.83
7.0.180.0090.00616.27
7.0.170.0070.00716.13
7.0.160.0040.01116.29
7.0.150.0100.00316.08
7.0.140.0070.00716.19
7.0.130.0070.00716.69
7.0.120.0050.00916.49
7.0.110.0030.01216.32
7.0.100.0070.00716.20
7.0.90.0030.01016.47
7.0.80.0070.01116.26
7.0.70.0050.00815.99
7.0.60.0050.00915.87
7.0.50.0040.01116.17
7.0.40.0060.00816.39
7.0.30.0030.01016.38
7.0.20.0080.00816.61
7.0.10.0060.00916.58
7.0.00.0030.01116.32

preferences:
48.63 ms | 400 KiB | 5 Q