3v4l.org

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

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.4.10.0060.00317.56
8.3.140.0080.00020.70
8.3.130.0070.00718.16
8.3.120.0060.00318.90
8.3.110.0100.01020.94
8.3.100.0130.00624.06
8.3.90.0000.00826.77
8.3.80.0060.00316.50
8.3.70.0060.00916.75
8.3.60.0100.01018.16
8.3.50.0130.00321.02
8.3.40.0030.01218.71
8.3.30.0100.00718.70
8.3.20.0030.00518.68
8.3.10.0040.00420.53
8.3.00.0100.00019.25
8.2.260.0090.00916.71
8.2.250.0090.00916.41
8.2.240.0130.00718.54
8.2.230.0080.00022.58
8.2.220.0130.00637.54
8.2.210.0070.01026.77
8.2.200.0030.00616.25
8.2.190.0150.00318.29
8.2.180.0140.00716.50
8.2.170.0140.00022.96
8.2.160.0130.00320.53
8.2.150.0070.00025.66
8.2.140.0050.00024.66
8.2.130.0040.00426.16
8.2.120.0040.00419.77
8.2.110.0000.00922.08
8.2.100.0060.00617.78
8.2.90.0000.00819.05
8.2.80.0050.00317.97
8.2.70.0090.00017.38
8.2.60.0050.00217.93
8.2.50.0060.00318.07
8.2.40.0050.00218.09
8.2.30.0040.00419.83
8.2.20.0040.00417.51
8.2.10.0080.00017.66
8.2.00.0040.00417.49
8.1.310.0040.00418.36
8.1.300.0150.00317.81
8.1.290.0090.00018.88
8.1.280.0120.00625.92
8.1.270.0040.00424.66
8.1.260.0050.00326.35
8.1.250.0020.00528.09
8.1.240.0060.00322.34
8.1.230.0040.00720.98
8.1.220.0000.00818.77
8.1.210.0000.00818.77
8.1.200.0030.00617.00
8.1.190.0000.00717.53
8.1.180.0040.00418.10
8.1.170.0040.00418.81
8.1.160.0070.00018.70
8.1.150.0040.00418.48
8.1.140.0030.00617.39
8.1.130.0040.00417.87
8.1.120.0000.00717.44
8.1.110.0000.00717.26
8.1.100.0040.00417.29
8.1.90.0050.00217.34
8.1.80.0000.00717.44
8.1.70.0030.00317.28
8.1.60.0050.00317.50
8.1.50.0090.00017.42
8.1.40.0040.00417.46
8.1.30.0080.00017.57
8.1.20.0040.00417.48
8.1.10.0000.00717.40
8.1.00.0030.00617.49
8.0.300.0040.00419.95
8.0.290.0000.00816.63
8.0.280.0000.00718.32
8.0.270.0030.00317.11
8.0.260.0070.00018.54
8.0.250.0040.00416.88
8.0.240.0040.00416.77
8.0.230.0030.00316.95
8.0.220.0030.00616.81
8.0.210.0080.00016.81
8.0.200.0000.00716.93
8.0.190.0050.00216.78
8.0.180.0070.00016.82
8.0.170.0000.00816.82
8.0.160.0070.00016.74
8.0.150.0000.00816.75
8.0.140.0000.00816.69
8.0.130.0060.00013.25
8.0.120.0000.00716.69
8.0.110.0050.00316.81
8.0.100.0040.00416.69
8.0.90.0050.00216.65
8.0.80.0130.00316.85
8.0.70.0000.00816.68
8.0.60.0040.00416.84
8.0.50.0000.00816.80
8.0.30.0160.00816.88
8.0.20.0090.01317.40
8.0.10.0070.00016.99
8.0.00.0140.00416.68
7.4.330.0050.00014.84
7.4.320.0030.00316.61
7.4.300.0000.00616.39
7.4.290.0000.00716.61
7.4.280.0040.00416.52
7.4.270.0000.00816.64
7.4.260.0060.00013.27
7.4.250.0040.00416.54
7.4.240.0000.00716.52
7.4.230.0020.00516.33
7.4.220.0100.01316.45
7.4.210.0080.00816.57
7.4.200.0030.00316.33
7.4.190.0070.00016.46
7.4.160.0100.01016.40
7.4.150.0070.01017.40
7.4.140.0130.00517.11
7.4.130.0110.00716.43
7.4.120.0090.00816.45
7.4.110.0070.01116.50
7.4.100.0120.01216.34
7.4.90.0070.01116.45
7.4.80.0140.00319.03
7.4.70.0070.01016.41
7.4.60.0030.01416.31
7.4.50.0030.00616.48
7.4.40.0110.00722.27
7.4.30.0090.00616.53
7.4.00.0060.01014.82
7.3.330.0000.00713.04
7.3.320.0000.00513.01
7.3.310.0030.00316.28
7.3.300.0030.00316.30
7.3.290.0040.01116.19
7.3.280.0070.01116.19
7.3.270.0070.01117.40
7.3.260.0190.00518.24
7.3.250.0100.00916.37
7.3.240.0090.01016.28
7.3.230.0140.00316.39
7.3.210.0140.00516.24
7.3.200.0060.01519.39
7.3.190.0170.00016.32
7.3.180.0060.00916.20
7.3.170.0110.00816.34
7.3.160.0100.01016.38
7.3.120.0030.01014.79
7.2.330.0140.00716.40
7.2.320.0110.01216.46
7.2.310.0110.00816.39
7.2.300.0160.00716.47
7.2.290.0070.01016.39
7.2.60.0060.00916.73
7.2.00.0000.01819.09
7.1.200.0050.00515.77
7.1.100.0080.00817.95
7.1.70.0030.01016.96
7.1.60.0120.01219.40
7.1.50.0100.00316.93
7.1.00.0070.05722.32
7.0.200.0250.00914.28
7.0.140.0130.06322.07
7.0.60.0070.08719.83
7.0.50.0000.05317.79
7.0.40.0070.04717.76
7.0.30.0100.07717.78
7.0.20.0070.04317.70
7.0.10.0070.05017.79
7.0.00.0130.07017.78
5.6.280.0070.06720.76
5.6.210.0030.06320.45
5.6.200.0070.05018.08
5.6.190.0100.04318.13
5.6.180.0170.07018.19
5.6.170.0070.04718.21
5.6.160.0030.04018.21
5.6.150.0030.05018.18
5.6.140.0030.05718.18
5.6.130.0100.04718.11
5.6.120.0070.08018.16
5.6.110.0100.08318.11
5.6.100.0030.08318.07
5.6.90.0130.03718.05
5.6.80.0030.04317.51
5.6.70.0070.03317.55
5.6.60.0070.06017.46
5.6.50.0100.03717.53
5.6.40.0100.03317.57
5.6.30.0030.08317.48
5.6.20.0070.07717.55
5.6.10.0030.08317.52
5.6.00.0000.08317.53
5.5.350.0170.05720.44
5.5.340.0100.07317.91
5.5.330.0030.08317.92
5.5.320.0170.03718.01
5.5.310.0200.06318.00
5.5.300.0100.07717.98
5.5.290.0070.04718.02
5.5.280.0030.04318.01
5.5.270.0030.07317.86
5.5.260.0130.04717.96
5.5.250.0030.04317.72
5.5.240.0030.05017.26
5.5.230.0000.07717.34
5.5.220.0000.04317.36
5.5.210.0030.05717.33
5.5.200.0030.05017.37
5.5.190.0130.07017.26
5.5.180.0230.03317.27
5.5.160.0030.04317.33
5.5.150.0070.03317.36
5.5.140.0030.03717.26
5.5.130.0030.04017.29
5.5.120.0030.03717.27
5.5.110.0130.03717.35
5.5.100.0000.04017.21
5.5.90.0030.03717.17
5.5.80.0100.03017.23
5.5.70.0070.04317.23
5.5.60.0070.03317.11
5.5.50.0030.03717.19
5.5.40.0030.03717.16
5.5.30.0030.03717.15
5.5.20.0000.04717.19
5.5.10.0070.05017.25
5.5.00.0030.03717.25
5.4.450.0000.08719.38
5.4.440.0070.08019.27
5.4.430.0070.05319.30
5.4.420.0070.08019.20
5.4.410.0070.06719.04
5.4.400.0070.03319.03
5.4.390.0100.07018.98
5.4.380.0000.04718.89
5.4.370.0000.05019.12
5.4.360.0200.04719.20
5.4.350.0130.06319.13
5.4.340.0070.05319.00
5.4.320.0030.04018.95
5.4.310.0030.06718.96
5.4.300.0030.03718.95
5.4.290.0030.03718.94
5.4.280.0070.03319.07
5.4.270.0030.03719.11
5.4.260.0030.03719.09
5.4.250.0030.03719.02
5.4.240.0000.04019.19
5.4.230.0030.03718.88
5.4.220.0100.03019.02
5.4.210.0030.03718.94
5.4.200.0130.04019.08
5.4.190.0000.04018.94
5.4.180.0070.03718.87
5.4.170.0130.03718.80
5.4.160.0100.03018.96
5.4.150.0030.04019.05
5.4.140.0170.03016.45
5.4.130.0030.03316.17
5.4.120.0000.03716.16
5.4.110.0000.03716.42
5.4.100.0030.04016.43
5.4.90.0070.03016.25
5.4.80.0000.03716.24
5.4.70.0030.03316.35
5.4.60.0030.03316.25
5.4.50.0070.03716.33
5.4.40.0030.03716.20
5.4.30.0030.04016.23
5.4.20.0030.03316.25
5.4.10.0070.04316.25
5.4.00.0070.05315.89
5.3.290.0030.04714.63
5.3.280.0000.04314.57
5.3.270.0030.03714.54
5.3.260.0000.04014.54
5.3.250.0030.03714.56
5.3.240.0030.03314.58
5.3.230.0000.04014.53
5.3.220.0000.04014.39
5.3.210.0000.04314.34
5.3.200.0000.03714.54
5.3.190.0070.03314.53
5.3.180.0070.03314.64
5.3.170.0030.03714.34
5.3.160.0100.03014.39
5.3.150.0030.03314.53
5.3.140.0030.06014.33
5.3.130.0070.03314.41
5.3.120.0000.04314.63
5.3.110.0070.07714.46
5.3.100.0100.03713.86
5.3.90.0030.03713.84
5.3.80.0130.06713.86
5.3.70.0070.04313.77
5.3.60.0030.05713.95
5.3.50.0030.07713.89
5.3.40.0070.03313.80
5.3.30.0100.06313.77
5.3.20.0030.04713.66
5.3.10.0030.03713.59
5.3.00.0030.04013.54
5.2.170.0030.03010.99
5.2.160.0000.03011.14
5.2.150.0100.05311.11
5.2.140.0070.02711.08
5.2.130.0030.02711.08
5.2.120.0030.02711.08
5.2.110.0000.03310.93
5.2.100.0030.05010.93
5.2.90.0070.03310.92
5.2.80.0000.03311.01
5.2.70.0030.04011.13
5.2.60.0000.03311.04
5.2.50.0070.06010.84
5.2.40.0000.04010.95
5.2.30.0130.05310.87
5.2.20.0100.05010.91
5.2.10.0030.02710.87
5.2.00.0130.05010.72
5.1.60.0000.02710.00
5.1.50.0000.0309.97
5.1.40.0000.0279.80
5.1.30.0030.05710.22
5.1.20.0070.03310.42
5.1.10.0000.06010.14
5.1.00.0070.05010.00
5.0.50.0000.0408.49
5.0.40.0070.0338.44
5.0.30.0030.0408.28
5.0.20.0070.0338.25
5.0.10.0070.0408.11
5.0.00.0000.0337.99
4.4.90.0000.0207.37
4.4.80.0000.0177.37
4.4.70.0030.0177.37
4.4.60.0000.0177.37
4.4.50.0030.0277.37
4.4.40.0030.0507.37
4.4.30.0070.0107.37
4.4.20.0000.0277.37
4.4.10.0070.0337.37
4.4.00.0070.0377.37
4.3.110.0030.0337.37
4.3.100.0000.0377.37
4.3.90.0000.0207.37
4.3.80.0000.0537.37
4.3.70.0000.0307.37
4.3.60.0000.0407.37
4.3.50.0000.0177.37
4.3.40.0000.0337.37
4.3.30.0070.0107.37
4.3.20.0030.0337.37
4.3.10.0000.0277.37
4.3.00.0070.0137.37

preferences:
33.32 ms | 403 KiB | 5 Q