3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass='test'; $hash = password_hash($pass, PASSWORD_DEFAULT); echo $hash; $hash = crypt ($pass); echo $hash; echo password_needs_rehash($hash, PASSWORD_DEFAULT); echo password_verify($pass, $hash);

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)
7.3.10.0030.06916.64
7.3.00.0070.06716.65
7.2.130.0030.06816.72
7.2.120.0000.08216.70
7.2.110.0100.06716.75
7.2.100.0030.07116.46
7.2.90.0070.06616.78
7.2.80.0060.06516.74
7.2.70.0000.07016.59
7.2.60.0050.06716.74
7.2.50.0030.07116.31
7.2.40.0100.06516.64
7.2.30.0070.07016.50
7.2.20.0030.06916.82
7.2.10.0030.06816.42
7.2.00.0060.06818.20
7.1.250.0030.06715.78
7.1.200.0030.06715.66
7.1.100.0100.07317.88
7.1.70.0100.06417.27
7.1.60.0160.11519.43
7.1.50.0030.12016.93
7.1.00.0070.16022.35
7.0.200.0230.06514.95
7.0.60.0100.16020.07
7.0.50.0200.14717.86
7.0.40.0070.10320.24
7.0.30.0070.15020.08
7.0.20.0270.16320.07
7.0.10.0030.14720.18
7.0.00.0100.14720.14
5.6.280.0030.15020.98
5.6.210.0170.11320.54
5.6.200.0100.15318.18
5.6.190.0070.15720.57
5.6.180.0470.15720.61
5.6.170.0300.11320.56
5.6.160.0070.16320.50
5.6.150.0000.10318.18
5.6.140.0070.11318.14
5.6.130.0100.16718.20
5.6.120.0130.13721.04
5.6.110.0070.15721.10
5.6.100.0100.16321.04
5.6.90.0000.14320.93
5.6.80.0000.16020.51
5.5.350.0300.09320.30
5.5.340.0030.11317.98
5.5.330.0070.13320.21
5.5.320.0230.09720.32
5.5.310.0270.14320.28
5.5.300.0070.11317.96
5.5.290.0100.16018.00
5.5.280.0030.11020.95
5.5.270.0030.16320.78
5.5.260.0100.11720.88
5.5.250.0000.13720.45
5.5.240.0070.15720.18
5.4.450.0700.05319.48
5.4.440.0800.07019.46
5.4.430.0670.05719.58
5.4.420.0600.06319.63
5.4.410.0630.05319.31
5.4.400.0630.05319.18
5.4.390.0800.07019.32
5.4.380.0630.05719.22
5.4.370.0770.04319.21
5.4.360.0770.05019.30
5.4.350.0570.06019.30
5.4.340.0470.06019.27
5.4.320.0630.06019.08
5.4.310.0530.05718.73
5.4.300.0700.04719.00
5.4.290.0770.04719.14
5.4.280.0570.06018.80
5.4.270.0800.06018.77
5.4.260.0670.06018.94
5.4.250.0730.06319.24
5.4.240.0770.07019.07
5.4.230.0670.05319.30
5.4.220.0570.05318.91
5.4.210.0770.05719.32
5.4.200.0670.07719.10
5.4.190.0730.05719.30
5.4.180.0670.05018.79
5.4.170.0600.05719.30
5.4.160.0570.07718.97
5.4.150.0600.05719.23
5.4.140.0870.04316.62
5.4.130.0600.07316.29
5.4.120.0700.05016.29
5.4.110.0570.05016.47
5.4.100.0570.04716.36
5.4.90.0500.05716.52
5.4.80.0630.04716.59
5.4.70.0570.05716.28
5.4.60.0430.05316.19
5.4.50.0570.05316.49
5.4.40.0530.05716.42
5.4.30.0700.04716.43
5.4.20.0570.06716.49
5.4.10.0670.05016.43
5.4.00.0500.05015.70

preferences:
17.97 ms | 401 KiB | 5 Q