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.1rc20.0000.00817.01
8.1rc10.0050.00216.81
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.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.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:
13.02 ms | 454 KiB | 5 Q