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.0130.12116.83
7.2.00.0000.13918.96
7.1.200.0030.13115.71
7.1.100.0100.12918.11
7.1.70.0000.12917.20
7.1.60.0070.20019.43
7.1.50.0170.15834.39
7.1.00.0000.24322.51
7.0.200.0030.12616.88
7.0.60.0070.23319.99
7.0.50.0030.20717.95
7.0.40.0030.19020.11
7.0.30.0330.20320.13
7.0.20.0230.23020.28
7.0.10.0200.16720.05
7.0.00.0070.17720.09
5.6.210.0130.21720.50
5.6.200.0070.21718.29
5.6.190.0100.19720.49
5.6.180.0330.17020.77
5.6.170.0270.21020.61
5.6.160.0000.16320.47
5.6.150.0070.17018.09
5.6.140.0030.15718.27
5.6.130.0070.17018.15
5.6.120.0070.16020.98
5.6.110.0100.16720.85
5.6.100.0070.20321.02
5.6.90.0100.19321.12
5.6.80.0130.22320.38
5.6.70.4400.17020.35
5.5.350.0100.21720.43
5.5.340.0030.15717.95
5.5.330.0100.17020.22
5.5.320.0000.21720.28
5.5.310.0300.22020.28
5.5.300.0030.17017.98
5.5.290.0100.23017.91
5.5.280.0070.21020.75
5.5.270.0130.15720.95
5.5.260.0030.23020.88
5.5.250.0100.22720.65
5.5.240.0000.17320.03
5.4.450.0670.06319.10
5.4.440.0670.05719.49
5.4.430.0600.05719.52
5.4.420.0600.05319.56
5.4.410.0970.05319.01
5.4.400.0630.06018.99
5.4.390.0900.06719.18
5.4.380.0600.05319.20
5.4.370.0600.05319.01
5.4.360.0600.05318.97
5.4.350.0570.05319.04
5.4.340.0570.05718.99
5.4.320.0700.04319.16
5.4.310.0630.05019.18
5.4.300.0570.06019.09
5.4.290.0500.06718.99
5.4.280.0570.06019.00
5.4.270.0600.05019.18
5.4.260.0800.04719.04
5.4.250.0670.04719.00
5.4.240.0600.05319.20
5.4.230.0670.04719.03
5.4.220.0700.06319.04
5.4.210.0930.06318.94
5.4.200.0630.05019.24
5.4.190.0600.05719.14
5.4.180.0700.04719.16
5.4.170.0670.05018.98
5.4.160.0770.06719.13
5.4.150.0670.07018.75
5.4.140.0800.05716.43
5.4.130.0870.04716.39
5.4.120.0500.06016.25
5.4.110.0770.05316.44
5.4.100.0730.05016.44
5.4.90.0770.04716.39
5.4.80.0670.06016.37
5.4.70.0800.05716.28
5.4.60.0700.05716.37
5.4.50.0770.05016.27
5.4.40.0730.05016.41
5.4.30.0830.04716.45
5.4.20.0670.04316.56
5.4.10.0670.04716.41
5.4.00.0700.06315.84

preferences:
36.95 ms | 401 KiB | 5 Q