3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo password_hash("somepassword", PASSWORD_DEFAULT); $hash = '$2y$10$f.iC/tadtwSws25fW2zRg./.xlY.mRK82Ys9M4acbPU/b614vA1vy'; // copy-pasted the hash if (password_verify('somepassword', $hash)) { echo 'The password is valid!'; } else { echo 'The password is not valid'; }

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.0.30.0130.17316.85
8.0.20.0070.17716.86
8.0.10.0060.18417.00
8.0.00.0160.17516.80
7.4.160.0090.17516.45
7.4.150.0160.17016.55
7.4.140.0070.18616.45
7.4.130.0100.17916.47
7.4.120.0180.17516.37
7.4.110.0200.17016.42
7.4.100.0090.18116.29
7.4.90.0170.17316.32
7.4.80.0140.17916.28
7.4.70.0200.18916.27
7.4.60.0250.17316.39
7.4.50.0190.18316.52
7.4.40.0230.17016.34
7.4.30.0260.16616.41
7.4.20.0150.17816.47
7.4.10.0200.17416.45
7.4.00.0090.17815.85
7.3.270.0030.18216.07
7.3.260.0130.17316.15
7.3.250.0150.18316.13
7.3.240.0170.18216.10
7.3.230.0110.17316.28
7.3.220.0100.17916.03
7.3.210.0160.18216.07
7.3.200.0190.17316.08
7.3.190.0160.18616.16
7.3.180.0200.18816.34
7.3.170.0210.17716.23
7.3.160.0250.17316.18
7.3.150.0270.16716.23
7.3.140.0250.17116.25
7.3.130.0230.17216.20
7.3.120.0150.17815.84
7.3.110.0220.17015.88
7.3.100.0140.17815.74
7.3.90.0200.17215.81
7.3.80.0190.17615.79
7.3.70.0140.17615.81
7.3.60.0160.17215.71
7.3.50.0140.17215.81
7.3.40.0160.17615.84
7.3.30.0120.17415.82
7.3.20.0140.17515.79
7.3.10.0320.17815.90
7.3.00.0190.17415.87
7.2.340.0160.17716.27
7.2.330.0180.18516.35
7.2.320.0230.18516.46
7.2.310.0190.20316.39
7.2.300.0240.18816.31
7.2.290.0250.17716.30
7.2.280.0180.18316.41
7.2.270.0170.17916.25
7.2.260.0210.17716.29
7.2.250.0200.18615.96
7.2.240.0180.17415.88
7.2.230.0170.18215.99
7.2.220.0280.16616.02
7.2.210.0160.17715.98
7.2.200.0200.17715.98
7.2.190.0180.17615.96
7.2.180.0160.17915.92
7.2.170.0210.17415.95
7.2.160.0200.18116.28
7.2.150.0290.16716.38
7.2.140.0220.17516.42
7.2.130.0250.17016.39
7.2.120.0250.17516.36
7.2.110.0170.17816.34
7.2.100.0230.17916.43
7.2.90.0310.19116.42
7.2.80.0200.18016.36
7.2.70.0220.17916.42
7.2.60.0190.17816.36
7.2.50.0260.16716.34
7.2.40.0260.17316.38
7.2.30.0180.18016.47
7.2.20.0200.17316.40
7.2.10.0310.18016.45
7.2.00.0230.17316.45

preferences:
32.97 ms | 401 KiB | 5 Q