3v4l.org

run code in 300+ PHP versions simultaneously
<?php $hashed =password_hash('mypass', PASSWORD_BCRYPT); echo $hashed . '\n'; $verified = password_verify('mypass', $hashed); var_dump($verified); echo '<br/>'; $hash575 = "2y$10$7g0dITY7XbtoejJ9edgpi.ZpnBCNR1apCA94AmDT58yDtXOVzzG/6"; $verified575 = password_verify('mypass', $hash575); var_dump($verified575);

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.0100.12516.89
7.2.00.0070.13519.41
7.1.200.0070.12715.57
7.1.100.0100.13218.29
7.1.70.0000.12717.30
7.1.60.0100.18819.43
7.1.50.0170.18634.86
7.1.00.0030.24022.47
7.0.200.0560.11816.88
7.0.60.0130.22719.86
7.0.50.0000.17317.93
7.0.40.0070.19320.38
7.0.30.0400.18320.17
7.0.20.0230.21020.29
7.0.10.0270.17320.15
7.0.00.0030.21720.11
5.6.280.0030.15020.94
5.6.210.0100.22020.62
5.6.200.0030.23318.15
5.6.190.0070.19020.71
5.6.180.0030.22020.47
5.6.170.0100.17020.46
5.6.160.0000.23320.50
5.6.150.0130.21718.24
5.6.140.0070.16718.21
5.6.130.0330.16318.35
5.6.120.0100.16321.16
5.6.110.0070.22020.92
5.6.100.0030.16721.04
5.6.90.0070.23720.96
5.6.80.0100.17320.55
5.6.70.3130.15720.38
5.5.350.0030.23020.33
5.5.340.0170.21017.97
5.5.330.0070.23020.27
5.5.320.0070.22720.42
5.5.310.0300.21020.39
5.5.300.0030.16018.04
5.5.290.0100.22717.97
5.5.280.0070.22720.80
5.5.270.0170.22320.92
5.5.260.0070.16320.83
5.5.250.0070.23020.61
5.5.240.0070.22020.29
5.4.450.0000.04019.57
5.4.440.0030.03719.45
5.4.430.0000.04319.41
5.4.420.0000.04019.40
5.4.410.0100.04319.32
5.4.400.0000.03719.13
5.4.390.0100.08018.83
5.4.380.0000.07719.13
5.4.370.0030.06318.81
5.4.360.0030.06019.08
5.4.350.0070.07319.21
5.4.340.0070.07319.13
5.4.320.0100.07319.13
5.4.310.0030.04019.24
5.4.300.0000.08019.09
5.4.290.0030.04318.88
5.4.280.0000.08318.88
5.4.270.0070.07318.80
5.4.260.0070.07019.13
5.4.250.0270.06018.80
5.4.240.0000.08319.13
5.4.230.0070.07319.12
5.4.220.0100.05018.91
5.4.210.0070.04718.87
5.4.200.0030.07719.23
5.4.190.0000.05019.21
5.4.180.0000.04019.19
5.4.170.0030.04319.08
5.4.160.0000.05019.20
5.4.150.0000.07019.11
5.4.140.0070.06716.34
5.4.130.0070.07016.18
5.4.120.0030.07016.27
5.4.110.0030.03716.52
5.4.100.0030.06016.34
5.4.90.0100.05716.06

preferences:
44.7 ms | 400 KiB | 5 Q