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)
5.6.150.0030.04318.15
5.6.140.0100.07318.18
5.6.130.0030.04018.28
5.6.120.0070.08720.95
5.6.110.0030.05021.10
5.6.100.0130.05020.97
5.6.90.0130.07721.13
5.6.80.0070.08020.48
5.5.300.0070.08017.95
5.5.290.0030.04317.94
5.5.280.0230.06720.78
5.5.270.0070.06720.63
5.5.260.0030.08020.95
5.5.250.0000.06020.61
5.5.240.0000.03320.05
5.4.450.0270.08019.28
5.4.440.0230.03319.21
5.4.430.0170.04319.64
5.4.420.0170.04319.55
5.4.410.0300.03319.07
5.4.400.0230.04019.23
5.4.390.0230.03319.08
5.4.380.0200.03319.22
5.4.370.0230.03319.15
5.4.360.0270.03019.08
5.4.350.0170.04319.08
5.4.340.0170.04019.15
5.4.320.0030.05019.22
5.4.310.0270.03319.16
5.4.300.0230.03719.23
5.4.290.0230.06019.05
5.4.280.0330.06718.97
5.4.270.0330.05319.31
5.4.260.0370.06319.18
5.4.250.0300.03719.21
5.4.240.0300.07319.18
5.4.230.0370.06019.08
5.4.220.0330.04019.00
5.4.210.0470.06018.84
5.4.200.0300.07019.05
5.4.190.0400.04319.21
5.4.180.0270.05019.15
5.4.170.0300.04019.21
5.4.160.0270.07719.04
5.4.150.0330.06719.08
5.4.140.0370.03716.50
5.4.130.0470.03716.33
5.4.120.0270.06316.35
5.4.110.0230.07016.46
5.4.100.0230.04316.38
5.4.90.0330.05716.45

preferences:
143.49 ms | 1394 KiB | 7 Q