3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump( //sha224 hash('sha224', 'Ward van der '), hash('sha224', 'Willem vp'), //sha256 hash('sha256', 'Ward van der'), hash('sha256', 'Willem VP'), //sha384 hash('sha384', 'Ward van der '), hash('sha384', 'Willem vp'), // sha512 hash('sha512', 'Ward van der '), hash('sha512', 'Willem vp') );

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.01018.43
8.3.50.0120.00722.11
8.3.40.0040.01118.63
8.3.30.0100.00319.14
8.3.20.0000.00720.16
8.3.10.0000.00821.98
8.3.00.0040.00422.43
8.2.180.0110.00416.38
8.2.170.0110.00422.96
8.2.160.0150.00320.68
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0100.00726.16
8.2.120.0000.00819.11
8.2.110.0050.00522.10
8.2.100.0060.00619.32
8.2.90.0040.00419.07
8.2.80.0040.00417.97
8.2.70.0030.00617.38
8.2.60.0000.00817.91
8.2.50.0060.00318.07
8.2.40.0000.00818.22
8.2.30.0070.00017.88
8.2.20.0040.00417.59
8.2.10.0000.00817.62
8.2.00.0040.00417.56
8.1.280.0030.01725.92
8.1.270.0030.00522.14
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0060.00324.00
8.1.230.0040.00819.02
8.1.220.0060.00317.74
8.1.210.0030.00618.77
8.1.200.0090.00017.00
8.1.190.0080.00416.93
8.1.180.0080.00018.59
8.1.170.0080.00018.59
8.1.160.0040.00422.02
8.1.150.0050.00318.56
8.1.140.0030.00617.20
8.1.130.0090.00017.66
8.1.120.0030.00517.44
8.1.110.0000.00817.33
8.1.100.0050.00217.32
8.1.90.0040.00417.29
8.1.80.0000.00717.37
8.1.70.0030.00317.30
8.1.60.0050.00317.34
8.1.50.0040.00417.46
8.1.40.0040.00417.30
8.1.30.0060.00317.36
8.1.20.0000.00817.51
8.1.10.0000.00917.43
8.1.00.0050.00317.26
8.0.300.0040.00418.77
8.0.290.0070.00017.05
8.0.280.0000.00818.38
8.0.270.0040.00417.14
8.0.260.0000.00616.76
8.0.250.0030.00316.77
8.0.240.0050.00316.79
8.0.230.0040.00416.82
8.0.220.0030.00316.74
8.0.210.0000.00816.84
8.0.200.0060.00016.69
8.0.190.0040.00416.86
8.0.180.0070.00016.86
8.0.170.0040.00416.82
8.0.160.0040.00416.75
8.0.150.0000.01016.69
8.0.140.0000.00716.75
8.0.130.0000.00513.21
8.0.120.0060.00316.71
8.0.110.0020.00516.67
8.0.100.0040.00416.81
8.0.90.0040.00416.66
8.0.80.0080.00816.84
8.0.70.0000.00916.65
8.0.60.0040.00416.78
8.0.50.0000.00716.66
8.0.30.0120.00617.08
8.0.20.0160.00917.40
8.0.10.0040.00416.84
8.0.00.0110.00616.65
7.4.330.0000.00615.00
7.4.320.0030.00316.51
7.4.300.0060.00016.39
7.4.290.0030.00316.48
7.4.280.0000.00716.38
7.4.270.0030.00316.38
7.4.260.0000.00816.46
7.4.250.0070.00016.34
7.4.240.0040.00416.47
7.4.230.0070.00016.51
7.4.220.0000.01616.57
7.4.210.0120.00416.47
7.4.200.0030.00316.29
7.4.190.0070.00016.45
7.4.160.0100.00616.48
7.4.150.0100.00817.40
7.4.140.0100.01217.86
7.4.130.0070.01016.38
7.4.120.0070.01116.36
7.4.110.0100.00716.32
7.4.100.0110.00716.35
7.4.90.0000.02016.59
7.4.80.0090.00919.39
7.4.70.0070.01016.39
7.4.60.0150.00316.31
7.4.50.0030.00516.19
7.4.40.0110.00722.77
7.4.30.0160.00016.37
7.4.00.0030.01114.86
7.3.330.0060.00012.98
7.3.320.0050.00012.89
7.3.310.0000.00716.20
7.3.300.0030.00316.19
7.3.290.0060.01016.12
7.3.280.0110.00416.16
7.3.270.0080.00817.40
7.3.260.0180.00016.28
7.3.250.0080.01016.43
7.3.240.0070.01016.07
7.3.230.0170.00016.39
7.3.210.0070.01016.42
7.3.200.0100.00719.39
7.3.190.0150.00316.39
7.3.180.0060.00916.17
7.3.170.0100.01116.38
7.3.160.0110.00616.34
7.3.120.0000.01814.47
7.2.330.0070.01116.47
7.2.320.0110.00716.33
7.2.310.0030.01316.47
7.2.300.0030.01316.45
7.2.290.0110.00616.37
7.2.60.0040.00416.46
7.1.200.0140.00715.79
7.1.70.0090.00616.74
7.1.60.0100.01019.82
7.1.50.0030.01616.87
7.1.00.0030.07322.31
7.0.200.0030.00616.62
7.0.140.0030.07322.00
7.0.60.0030.04019.92
7.0.50.0070.05717.80
7.0.40.0170.07319.91
7.0.30.0270.05320.10
7.0.20.0270.08020.17
7.0.10.0270.06020.16
7.0.00.0030.07320.00
5.6.280.0100.06320.91
5.6.210.0130.06020.64
5.6.200.0100.03718.22
5.6.190.0030.09720.43
5.6.180.3970.04320.64
5.6.170.0430.05720.61
5.6.160.0000.06320.49
5.6.150.0030.08018.18
5.6.140.0100.08018.11
5.6.130.0130.06018.21
5.6.120.0030.08021.14
5.6.110.0000.06320.96
5.6.100.0100.05321.07
5.6.90.0070.06021.09
5.6.80.0170.06020.46
5.5.350.0000.08020.43
5.5.340.0100.03318.02
5.5.330.0070.07720.21
5.5.320.0230.07320.17
5.5.310.0370.06720.24
5.5.300.0000.04317.97
5.5.290.0030.04317.97
5.5.280.0230.06720.64
5.5.270.0030.06320.88
5.5.260.0030.05720.86
5.5.250.0130.06720.58
5.5.240.0070.06720.18
5.4.450.0470.05719.45
5.4.440.0430.06019.45
5.4.430.0100.05319.63
5.4.420.0070.05719.34
5.4.410.0070.05719.20
5.4.400.0870.00018.70
5.4.390.0770.00018.71
5.4.380.0330.05318.72
5.4.370.0230.04718.67
5.4.360.0200.04718.72
5.4.350.0230.04318.63
5.4.340.0100.05718.74
5.4.320.0070.03812.46
5.4.310.0060.04612.45
5.4.300.0060.04012.46
5.4.290.0080.03912.45
5.4.280.0100.03512.35
5.4.270.0050.03612.35
5.4.260.0170.04718.90
5.4.250.0200.06018.82
5.4.240.0170.07018.71
5.4.230.0170.04718.90
5.4.220.0030.06319.01
5.4.210.0100.05318.84
5.4.200.0100.04718.73
5.4.190.0100.05718.86
5.4.180.0170.07018.86
5.4.170.0170.05018.63
5.4.160.0200.04018.89
5.4.150.0200.06718.98
5.4.140.0230.04016.46
5.4.130.0030.05316.42
5.4.120.0070.05016.24
5.4.110.0100.07316.41
5.4.100.0070.06316.41
5.4.90.0200.03716.39
5.4.80.0100.06316.39
5.4.70.0130.06716.20
5.4.60.0130.05016.30
5.4.50.0030.05316.29
5.4.40.0130.04716.44
5.4.30.0100.04716.30
5.4.20.0000.05716.15
5.4.10.0030.06316.23
5.4.00.0130.04715.65
5.3.290.0050.04412.80
5.3.280.0030.05714.51
5.3.270.0200.05314.65
5.3.260.0200.06314.58
5.3.250.0030.06314.63
5.3.240.0070.06014.46
5.3.230.0130.06314.45
5.3.220.0170.06714.58
5.3.210.0100.06014.48
5.3.200.0130.04314.43
5.3.190.0070.05314.58
5.3.180.0030.07314.33
5.3.170.0070.07714.26
5.3.160.0070.07714.43
5.3.150.0230.05014.43
5.3.140.0170.05014.58
5.3.130.0100.05314.43
5.3.120.0070.05314.56
5.3.110.0130.05314.32
5.3.100.0030.06013.95
5.3.90.0130.06314.11
5.3.80.0130.04314.04
5.3.70.0200.06014.02
5.3.60.0070.05313.85
5.3.50.0070.05713.96
5.3.40.0100.05714.04
5.3.30.0130.06713.86
5.3.20.0170.05313.57
5.3.10.0130.06013.80
5.3.00.0130.06313.52
5.2.170.0100.05310.90
5.2.160.0100.05311.13
5.2.150.0100.06011.07
5.2.140.0100.05311.29
5.2.130.0100.04011.05
5.2.120.0030.04711.25
5.2.110.0100.04711.09
5.2.100.0070.04711.11
5.2.90.0170.04311.03
5.2.80.0070.06010.86
5.2.70.0000.05010.99
5.2.60.0100.05711.07
5.2.50.0130.05010.92
5.2.40.0130.03310.75
5.2.30.0130.04010.99
5.2.20.0170.04310.95
5.2.10.0100.05011.07
5.2.00.0100.05310.79
5.1.60.0070.04310.05
5.1.50.0030.0539.76
5.1.40.0070.0539.86
5.1.30.0170.02710.54
5.1.20.0070.04010.42
5.1.10.0130.03010.25
5.1.00.0170.04010.02
5.0.50.0070.0278.58
5.0.40.0000.0478.31
5.0.30.0000.0508.24
5.0.20.0030.0338.19
5.0.10.0070.0278.25
5.0.00.0000.0478.24
4.4.90.0130.0237.14
4.4.80.0070.0237.14
4.4.70.0070.0237.14
4.4.60.0070.0277.14
4.4.50.0000.0337.14
4.4.40.0070.0437.14
4.4.30.0000.0237.14
4.4.20.0100.0237.14
4.4.10.0030.0307.14
4.4.00.0000.0377.14
4.3.110.0030.0207.14
4.3.100.0070.0277.14
4.3.90.0030.0237.14
4.3.80.0000.0407.14
4.3.70.0000.0307.14
4.3.60.0030.0207.14
4.3.50.0070.0277.14
4.3.40.0070.0307.14
4.3.30.0000.0237.14
4.3.20.0100.0137.14
4.3.10.0030.0277.14
4.3.00.0000.0237.06

preferences:
35.66 ms | 401 KiB | 5 Q