3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach(hash_algos() as $hash){ echo $hash.': '; var_dump(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.0100.01316.88
8.3.50.0120.00616.26
8.3.40.0040.01118.54
8.3.30.0070.01018.71
8.3.20.0030.00620.34
8.3.10.0030.00521.72
8.3.00.0070.00417.78
8.2.180.0060.00916.75
8.2.170.0150.00022.96
8.2.160.0100.00320.35
8.2.150.0080.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00921.00
8.2.120.0000.00826.35
8.2.110.0050.00520.93
8.2.100.0090.00318.03
8.2.90.0040.00419.09
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0030.00617.93
8.2.50.0040.00418.10
8.2.40.0040.00420.60
8.2.30.0080.00020.95
8.2.20.0050.00218.06
8.2.10.0000.00818.10
8.2.00.0040.00417.93
8.1.280.0090.00625.92
8.1.270.0000.00822.06
8.1.260.0040.00426.35
8.1.250.0030.00628.09
8.1.240.0060.00323.92
8.1.230.0090.00319.00
8.1.220.0000.00817.74
8.1.210.0060.00318.77
8.1.200.0030.00617.00
8.1.190.0060.00317.23
8.1.180.0040.00418.10
8.1.170.0060.00320.50
8.1.160.0050.00318.85
8.1.150.0050.00320.71
8.1.140.0000.00819.50
8.1.130.0070.00018.76
8.1.120.0000.00717.50
8.1.110.0000.00817.48
8.1.100.0030.00617.46
8.1.90.0090.00217.34
8.1.80.0050.00317.50
8.1.70.0000.00717.48
8.1.60.0030.00617.45
8.1.50.0000.00817.57
8.1.40.0030.00617.40
8.1.30.0040.00417.48
8.1.20.0000.00717.60
8.1.10.0000.00817.41
8.1.00.0000.00817.49
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0070.00018.41
8.0.270.0000.00717.16
8.0.260.0040.00416.89
8.0.250.0030.00316.96
8.0.240.0040.00417.04
8.0.230.0000.00716.91
8.0.220.0040.00416.98
8.0.210.0030.00316.86
8.0.200.0000.00817.00
8.0.190.0030.00616.88
8.0.180.0000.00816.96
8.0.170.0000.00716.86
8.0.160.0040.00417.05
8.0.150.0050.00316.95
8.0.140.0030.00316.92
8.0.130.0000.00613.36
8.0.120.0000.00816.82
8.0.110.0040.00416.81
8.0.100.0000.00816.93
8.0.90.0000.00716.85
8.0.80.0060.00916.91
8.0.70.0050.00216.85
8.0.60.0000.00716.92
8.0.50.0000.00816.94
8.0.30.0100.01016.98
8.0.20.0110.01117.40
8.0.10.0000.00717.06
8.0.00.0140.01116.88
7.4.330.0050.00015.55
7.4.320.0070.00016.60
7.4.300.0000.00616.58
7.4.290.0050.00516.40
7.4.280.0000.00916.58
7.4.270.0030.00416.40
7.4.260.0000.00513.26
7.4.250.0070.00016.60
7.4.240.0070.00016.61
7.4.230.0000.00716.69
7.4.220.0100.01016.59
7.4.210.0070.00816.43
7.4.200.0030.00316.50
7.4.160.0060.01016.57
7.4.150.0100.00717.40
7.4.140.0120.00717.86
7.4.130.0110.00816.40
7.4.120.0130.00816.50
7.4.110.0120.01216.64
7.4.100.0180.00016.50
7.4.90.0130.00616.62
7.4.80.0090.00919.39
7.4.70.0090.01016.43
7.4.60.0100.00716.38
7.4.50.0070.01016.41
7.4.40.0090.00916.55
7.4.30.0090.00916.36
7.4.00.0070.00714.69
7.3.330.0060.00013.09
7.3.320.0050.00013.10
7.3.310.0030.00516.23
7.3.300.0030.00316.25
7.3.290.0080.00016.25
7.3.280.0100.00816.26
7.3.270.0160.00317.40
7.3.260.0150.00616.36
7.3.250.0090.01316.39
7.3.240.0120.00716.47
7.3.230.0120.01416.21
7.3.210.0130.01016.18
7.3.200.0110.01216.52
7.3.190.0070.01616.30
7.3.180.0150.00416.53
7.3.170.0090.00916.40
7.3.160.0140.01016.50
7.2.330.0060.01316.56
7.2.320.0000.01816.76
7.2.310.0070.01016.68
7.2.300.0100.00716.58
7.2.290.0080.00816.48
7.2.60.0100.00616.95
7.2.00.0060.00619.17
7.1.200.0040.00715.86
7.1.100.0030.01018.20
7.1.70.0100.00517.07
7.1.60.0150.01535.06
7.1.50.0200.01034.82
7.1.40.0250.00734.42
7.1.30.0180.01134.45
7.1.20.0220.00734.39
7.1.10.0060.00916.67
7.1.00.0040.01116.51
7.0.200.0070.00716.66
7.0.190.0090.00416.64
7.0.180.0100.00615.99
7.0.170.0080.00516.16
7.0.160.0030.01016.22
7.0.150.0050.01016.24
7.0.140.0100.00316.32
7.0.130.0110.00316.39
7.0.120.0140.00016.54
7.0.110.0060.01216.18
7.0.100.0070.01016.18
7.0.90.0030.01116.15
7.0.80.0030.01016.22
7.0.70.0060.00616.18
7.0.60.0120.00416.23
7.0.50.0090.00616.21
7.0.40.0120.00316.45
7.0.30.0090.00616.37
7.0.20.0030.01016.42
7.0.10.0120.00916.55
7.0.00.0000.01516.34

preferences:
43.11 ms | 401 KiB | 5 Q