3v4l.org

run code in 300+ PHP versions simultaneously
<?php /* * Fill in unhashed & hashed seeds below and click blue 'eval();' button below textarea. * * ------------------ */ $hashedSeed = 'c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6'; $unhashedSeed = 'c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c6c6e6d89644955822ed2c2c709ced830f17f49e5b1c29b79c76a2343a2d4a01c'; $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.130.0210.01116.41
8.3.120.0310.01016.45
8.3.110.0420.00716.18
8.3.100.0350.01016.31
8.3.90.0400.01016.44
8.3.80.0350.00316.55
8.3.70.0290.00516.44
8.3.60.0330.00516.56
8.3.50.0290.01216.33
8.3.40.0230.00917.23
8.3.30.0300.00317.24
8.3.20.0310.00617.32
8.3.10.0300.00717.22
8.3.00.0290.00317.17
8.2.250.0230.00516.60
8.2.240.0300.00916.35
8.2.230.0350.00516.25
8.2.220.0270.01016.41
8.2.210.0310.00916.24
8.2.200.0290.00816.45
8.2.190.0290.00816.29
8.2.180.0170.00516.35
8.2.170.0280.00417.58
8.2.160.0260.00517.37
8.2.150.0290.00717.33
8.2.140.0410.00017.45
8.2.130.0320.00917.32
8.2.120.0320.00917.39
8.2.110.0400.01117.38
8.2.100.0350.00917.38
8.2.90.0360.00717.40
8.2.80.0350.01017.23
8.2.70.0330.00717.35
8.2.60.0290.01117.46
8.2.50.0280.01017.30
8.2.40.0350.00317.46
8.2.30.0300.01117.24
8.2.20.0250.01017.50
8.2.10.0230.00817.55
8.2.00.0250.00517.35
8.1.300.0350.00616.18
8.1.290.0350.00316.19
8.1.280.0330.00916.18
8.1.270.0340.00717.10
8.1.260.0320.00917.18
8.1.250.0360.00717.20
8.1.240.0380.00417.04
8.1.230.0220.01017.33
8.1.220.0260.00717.37
8.1.210.0320.00417.09
8.1.200.0280.00817.28
8.1.190.0280.00617.25
8.1.180.0240.00717.23
8.1.170.0320.00217.33
8.1.160.0280.00817.26
8.1.150.0280.00816.99
8.1.140.0300.00817.05
8.1.130.0410.00217.03
8.1.120.0280.00517.21
8.1.110.0250.00916.94
8.1.100.0280.00616.99
8.1.90.0300.00816.93
8.1.80.0320.00417.11
8.1.70.0270.00517.08
8.1.60.0300.00617.27
8.1.50.0250.00417.31
8.1.40.0200.00917.37
8.1.30.0260.00617.34
8.1.20.0270.01117.31
8.1.10.0360.00417.40
8.1.00.0370.00217.22

preferences:
27.19 ms | 403 KiB | 5 Q