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.3.60.0100.01018.39
8.3.50.0110.00822.11
8.3.40.0040.01118.70
8.3.30.0030.01019.04
8.3.20.0070.00720.14
8.3.10.0080.00022.14
8.3.00.0080.00022.42
8.2.180.0040.01116.38
8.2.170.0160.00322.96
8.2.160.0070.00720.80
8.2.150.0030.00624.18
8.2.140.0080.00024.66
8.2.130.0030.01026.16
8.2.120.0080.00017.50
8.2.110.0080.00022.04
8.2.100.0060.00619.32
8.2.90.0000.00819.05
8.2.80.0040.00417.97
8.2.70.0030.00517.63
8.2.60.0040.00417.92
8.2.50.0040.00418.07
8.2.40.0000.00818.22
8.2.30.0000.00718.04
8.2.20.0000.00717.57
8.2.10.0000.00817.62
8.2.00.0000.00817.48
8.1.280.0130.00325.92
8.1.270.0060.00322.16
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0040.00423.81
8.1.230.0070.00319.07
8.1.220.0080.00017.74
8.1.210.0030.00618.77
8.1.200.0000.00917.13
8.1.190.0000.00817.43
8.1.180.0040.00418.60
8.1.170.0000.00818.59
8.1.160.0050.00221.95
8.1.150.0040.00418.62
8.1.140.0040.00417.44
8.1.130.0000.00717.79
8.1.120.0030.00417.46
8.1.110.0050.00317.27
8.1.100.0050.00317.36
8.1.90.0030.00517.28
8.1.80.0000.00817.25
8.1.70.0040.00417.41
8.1.60.0060.00317.39
8.1.50.0050.00217.38
8.1.40.0000.00717.49
8.1.30.0040.00417.57
8.1.20.0090.00017.55
8.1.10.0030.00517.47
8.1.00.0040.00417.45
8.0.300.0000.00818.77
8.0.290.0070.00017.18
8.0.280.0040.00418.39
8.0.270.0030.00317.13
8.0.260.0000.00616.76
8.0.250.0070.00016.80
8.0.240.0040.00416.80
8.0.230.0030.00516.91
8.0.220.0050.00216.70
8.0.210.0030.00316.81
8.0.200.0000.00616.80
8.0.190.0080.00016.88
8.0.180.0000.00716.86
8.0.170.0040.00416.84
8.0.160.0000.00716.77
8.0.150.0040.00416.70
8.0.140.0070.00016.69
8.0.130.0060.00013.26
8.0.120.0030.00616.68
8.0.110.0050.00316.74
8.0.100.0000.00816.74
8.0.90.0040.00416.67
8.0.80.0110.01116.70
8.0.70.0030.00516.76
8.0.60.0070.00016.88
8.0.50.0070.00016.82
8.0.30.0110.00917.13
8.0.20.0090.00917.40
8.0.10.0000.00716.91
8.0.00.0070.01016.70
7.4.330.0000.00615.00
7.4.320.0000.00716.49
7.4.300.0060.00016.47
7.4.290.0000.00716.50
7.4.280.0030.00316.48
7.4.270.0030.00316.46
7.4.260.0080.00016.48
7.4.250.0040.00416.45
7.4.240.0020.00616.60
7.4.230.0070.00016.68
7.4.220.0130.00716.55
7.4.210.0040.01316.47
7.4.200.0040.00416.63
7.4.190.0030.00316.76
7.4.160.0060.01216.33
7.4.150.0120.00617.40
7.4.140.0120.00917.86
7.4.130.0120.00916.39
7.4.120.0070.01216.41
7.4.110.0110.00716.62
7.4.100.0110.00716.42
7.4.90.0130.00616.42
7.4.80.0090.00919.39
7.4.70.0130.00316.37
7.4.60.0100.00716.36
7.4.50.0000.00816.39
7.4.40.0040.01222.77
7.4.30.0120.00616.55
7.3.330.0000.00613.00
7.3.320.0000.00613.05
7.3.310.0040.00416.34
7.3.300.0000.00716.22
7.3.290.0080.00816.24
7.3.280.0070.00816.23
7.3.270.0120.00617.40
7.3.260.0100.00716.33
7.3.250.0090.01116.35
7.3.240.0040.01316.18
7.3.230.0070.01016.39
7.3.210.0140.00416.28
7.3.200.0050.01119.39
7.3.190.0080.01216.43
7.3.180.0030.01816.20
7.3.170.0070.01516.27
7.3.160.0150.00416.49
7.2.330.0160.00316.42
7.2.320.0130.00316.42
7.2.310.0030.01316.42
7.2.300.0030.01316.11
7.2.290.0090.01316.20
5.4.260.0070.03612.36
5.4.250.0050.04612.37
5.4.240.0070.04212.37
5.4.230.0040.03812.36
5.4.220.0050.03912.36
5.4.210.0050.03812.36
5.4.200.0080.03512.36
5.4.190.0070.03612.35
5.4.180.0040.03812.35
5.4.170.0070.03612.36
5.4.160.0050.03912.35
5.4.150.0060.03512.35
5.4.140.0050.03812.04
5.4.130.0080.03512.02
5.4.120.0070.03511.99
5.4.110.0040.04311.98
5.4.100.0090.03811.98
5.4.90.0100.04111.99
5.4.80.0050.03911.98
5.4.70.0070.04111.98
5.4.60.0070.04111.98
5.4.50.0050.04311.98
5.4.40.0080.04011.97
5.4.30.0070.04111.96
5.4.20.0070.03411.96
5.4.10.0070.03811.96
5.4.00.0100.04111.46
5.3.280.0090.04612.71
5.3.270.0070.04112.72
5.3.260.0070.03812.72
5.3.250.0050.03912.72
5.3.240.0040.03912.72
5.3.230.0050.03912.71
5.3.220.0040.03812.68
5.3.210.0070.03912.68
5.3.200.0050.03712.68
5.3.190.0070.03612.67
5.3.180.0050.03812.67
5.3.170.0100.03712.67
5.3.160.0070.04312.67
5.3.150.0080.03812.67
5.3.140.0070.03912.66
5.3.130.0060.03812.66
5.3.120.0050.04112.66
5.3.110.0050.03912.66
5.3.100.0090.03612.12
5.3.90.0050.04312.08
5.3.80.0070.03612.07
5.3.70.0090.03512.08
5.3.60.0070.03612.07
5.3.50.0070.03812.00
5.3.40.0070.04512.00
5.3.30.0070.04411.94
5.3.20.0060.03811.70
5.3.10.0070.03211.66
5.3.00.0070.03511.65

preferences:
37.01 ms | 401 KiB | 5 Q