3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* * Fill in unhashed & hashed seeds below and click blue 'eval();' button below textarea. * * ------------------ */ $hashedSeed = 'paste initial hashed server seed here'; $unhashedSeed = '2386'; $hash = hash('sha256', $unhashedSeed); echo "Generated hash: $hash\n"; echo 'Does hash match? ' . ($hashedSeed == $hash ? 'Yes' : 'No') . "\n";

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.0050.00918.38
8.3.50.0170.00318.09
8.3.40.0100.00318.75
8.3.30.0120.00318.50
8.3.20.0000.00824.18
8.3.10.0050.00224.66
8.3.00.0080.00026.16
8.2.180.0140.00025.92
8.2.170.0100.01018.79
8.2.160.0130.00022.96
8.2.150.0080.00025.66
8.2.140.0000.00824.66
8.2.130.0040.00426.16
8.2.120.0070.00026.16
8.2.110.0090.00020.95
8.2.100.0080.00417.72
8.2.90.0050.00318.97
8.2.80.0090.00017.97
8.2.70.0050.00317.63
8.2.60.0030.00518.03
8.2.50.0000.00818.07
8.2.40.0060.00318.09
8.2.30.0050.00218.12
8.2.20.0050.00318.23
8.2.10.0070.00019.19
8.2.00.0040.00419.29
8.1.270.0000.00723.99
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0090.00021.29
8.1.230.0110.00017.77
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0030.00617.35
8.1.190.0030.00617.23
8.1.180.0040.00418.10
8.1.170.0040.00418.40
8.1.160.0050.00318.91
8.1.150.0000.00818.89
8.1.140.0060.00318.95
8.1.130.0000.00720.26
8.1.120.0030.00517.51
8.1.110.0030.00617.48
8.1.100.0000.00717.32
8.1.90.0080.00017.45
8.1.80.0050.00217.36
8.1.70.0030.00517.53
8.1.60.0000.00817.61
8.1.50.0060.00317.54
8.1.40.0000.01317.55
8.1.30.0080.00017.59
8.1.20.0000.00817.65
8.1.10.0030.00617.56
8.1.00.0080.00017.29
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0030.00318.45
8.0.270.0000.00717.98
8.0.260.0000.00818.56
8.0.250.0030.00316.84
8.0.240.0070.00016.96
8.0.230.0030.00316.91
8.0.220.0000.00716.88
8.0.210.0000.00716.86
8.0.200.0030.00316.82
8.0.190.0040.00416.85
8.0.180.0000.00716.98
8.0.170.0000.00916.93
8.0.160.0040.00416.89
8.0.150.0000.00816.91
8.0.140.0000.00716.93
8.0.130.0030.00313.31
8.0.120.0000.00816.79
8.0.110.0000.00717.01
8.0.100.0000.00816.90
8.0.90.0000.00716.79
8.0.80.0120.00316.83
8.0.70.0030.01416.84
8.0.60.0100.00716.73
8.0.50.0130.00616.82
8.0.30.0090.00616.89
8.0.20.0120.00316.93
8.0.10.0070.01016.98
8.0.00.0070.01017.04
7.4.330.0000.00615.55
7.4.320.0030.00316.42
7.4.300.0000.00616.46
7.4.290.0070.00016.46
7.4.280.0040.00416.41
7.4.270.0070.00016.61
7.4.260.0000.00513.28
7.4.250.0030.00316.42
7.4.240.0030.00316.58
7.4.230.0000.00816.41
7.4.220.0050.00216.53
7.4.210.0090.00916.54
7.4.200.0100.01016.63
7.4.190.0120.00316.53
7.4.180.0070.01416.70
7.4.160.0090.00916.54
7.4.150.0070.00716.62
7.4.140.0120.00316.57
7.4.130.0090.00616.57
7.4.120.0080.00816.42
7.4.110.0170.00316.53
7.4.100.0070.00716.61
7.4.90.0060.00916.48
7.4.80.0070.00716.41
7.4.70.0100.00616.57
7.4.60.0070.01016.50
7.4.50.0070.01116.29
7.4.40.0060.01016.42
7.4.30.0140.00316.40
7.4.20.0120.00316.62
7.4.10.0060.00916.49
7.4.00.0030.01016.54
7.3.330.0000.00716.38
7.3.320.0020.00313.26
7.3.310.0030.00616.46
7.3.300.0000.00716.32
7.3.290.0180.00016.43
7.3.280.0120.00616.37
7.3.270.0130.00316.43
7.3.260.0070.00716.38
7.3.250.0030.01216.33
7.3.240.0070.00716.27
7.3.230.0070.00716.34
7.3.220.0100.00416.19
7.3.210.0110.00416.16
7.3.200.0030.01116.22
7.3.190.0000.01416.23
7.3.180.0040.01116.20
7.3.170.0040.01116.23
7.3.160.0100.00316.25
7.3.150.0140.00016.15
7.3.140.0070.01016.20
7.3.130.0080.00516.22
7.3.120.0120.00316.29
7.3.110.0130.00316.18
7.3.100.0070.00716.22
7.3.90.0040.01116.44
7.3.80.0060.00916.20
7.3.70.0120.00316.37
7.3.60.0100.00316.35
7.3.50.0000.01516.41
7.3.40.0100.00416.40
7.3.30.0080.00516.36
7.3.20.0120.00316.48
7.3.10.0060.00916.29
7.3.00.0030.01216.32

preferences:
65.91 ms | 400 KiB | 5 Q