3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hashed =password_hash('mypass', PASSWORD_BCRYPT); echo $hashed; $verified = password_verify('mypass'. $hashed); echo $verified;

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.2.60.0030.07316.63
7.2.00.0030.07119.53
7.1.200.0070.06715.88
7.1.100.0000.07418.00
7.1.70.0030.06517.17
7.1.60.0070.11819.43
7.1.50.0200.11534.43
7.1.00.0130.16022.31
7.0.200.0000.06916.48
7.0.60.0030.13719.91
7.0.50.0070.16017.88
7.0.40.0170.11320.18
7.0.30.0270.11320.21
7.0.20.0300.13320.09
7.0.10.0330.15320.11
7.0.00.0070.17320.09
5.6.280.0000.09021.11
5.6.210.0070.16720.70
5.6.200.0070.11318.27
5.6.190.0070.10320.57
5.6.180.0030.12320.57
5.6.170.0270.14020.41
5.6.160.0100.09720.45
5.6.150.0030.17318.11
5.6.140.0000.10018.18
5.6.130.0030.11718.18
5.6.120.0030.11321.03
5.6.110.0130.15720.98
5.6.100.0100.11721.12
5.6.90.0100.16720.99
5.6.80.0030.14720.39
5.6.70.4100.10020.49
5.5.350.0170.14720.51
5.5.340.0030.09717.84
5.5.330.0030.16320.27
5.5.320.0100.14320.51
5.5.310.0370.15320.35
5.5.300.0130.09318.02
5.5.290.0170.15318.02
5.5.280.0000.17020.76
5.5.270.0100.15320.71
5.5.260.0070.14020.86
5.5.250.0100.15320.61
5.5.240.0130.16020.18
5.4.450.0170.05019.51
5.4.440.0200.05019.48
5.4.430.0130.05019.36
5.4.420.0130.05019.09
5.4.410.0300.05319.36
5.4.400.0700.05019.00
5.4.390.0770.07018.97
5.4.380.0570.05718.75
5.4.370.0770.04718.95
5.4.360.0770.05318.78
5.4.350.0870.05318.95
5.4.340.0230.04018.95
5.4.320.0130.05719.18
5.4.310.0700.06019.19
5.4.300.0200.07019.16
5.4.290.0030.06018.99
5.4.280.0230.04719.14
5.4.270.0130.04719.04
5.4.260.0170.05319.20
5.4.250.0170.06318.77
5.4.240.0330.04719.17
5.4.230.0600.05319.23
5.4.220.0170.06018.96
5.4.210.0330.04319.18
5.4.200.0300.05319.17
5.4.190.0130.05018.96
5.4.180.0030.06018.96
5.4.170.0130.06018.94
5.4.160.0230.03719.02
5.4.150.0170.05019.02
5.4.140.0570.05016.40
5.4.130.0630.04716.18
5.4.120.0530.06016.54
5.4.110.0630.04716.18
5.4.100.0200.04016.44
5.4.90.0170.04016.29
5.4.80.0730.05016.38
5.4.70.0400.05016.36
5.4.60.0200.03716.36
5.4.50.0500.05316.36
5.4.40.0530.05316.16
5.4.30.0530.05716.26
5.4.20.0630.04316.09
5.4.10.0070.05316.36
5.4.00.0470.03715.89

preferences:
37.29 ms | 404 KiB | 6 Q