3v4l.org

run code in 300+ PHP versions simultaneously
<?php declare(strict_types=1); $hashedPassword = password_hash($_POST['psasword'], PASSWORD_BCRYPT); echo $hashedPassword;

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.0040.01116.52
7.2.00.0070.00319.36
7.1.200.0110.00015.52
7.1.100.0000.01117.98
7.1.70.0000.00717.14
7.1.60.0100.01319.14
7.1.50.0000.01816.61
7.1.00.0100.06722.51
7.0.200.0100.00716.56
7.0.100.0100.07320.05
7.0.90.0100.07319.89
7.0.80.0130.07319.93
7.0.70.0200.07320.12
7.0.60.0170.04719.97
7.0.50.0000.04020.24
7.0.40.0030.09720.05
7.0.30.0070.07320.05
7.0.20.0070.08720.18
7.0.10.0070.08020.04
7.0.00.0070.09020.17
5.6.280.0030.13721.10
5.6.250.0170.14320.50
5.6.240.0130.16320.67
5.6.230.0100.15320.59
5.6.220.0130.13020.58
5.6.210.0070.16020.62
5.6.200.0070.10021.17
5.6.190.0070.10321.04
5.6.180.0100.15021.04
5.6.170.0170.17021.02
5.6.160.0100.16021.17
5.6.150.0130.10021.05
5.6.140.0030.13021.10
5.6.130.0070.10321.07
5.6.120.0030.10321.07
5.6.110.0030.10721.07
5.6.100.0070.10721.06
5.6.90.0130.09020.93
5.6.80.0030.12020.35
5.6.70.0070.09720.33
5.6.60.0070.09720.54
5.6.50.0030.10320.40
5.6.40.0100.10720.41
5.6.30.0070.11320.45
5.6.20.0030.12320.40
5.6.10.0070.08320.32
5.6.00.0030.16720.26
5.5.380.0100.15020.54
5.5.370.0100.15720.34
5.5.360.0030.17020.35
5.5.350.0030.15320.34
5.5.340.0130.09020.85
5.5.330.0100.16020.73
5.5.320.0230.12320.84
5.5.310.0170.16320.82
5.5.300.0000.10720.76
5.5.290.0030.13320.85
5.5.280.0070.10720.79
5.5.270.0030.14720.75
5.5.260.0030.11020.91
5.5.250.0030.10320.73
5.5.240.0030.11320.27
5.5.230.0000.13020.23
5.5.220.0170.08020.23
5.5.210.0070.09720.12
5.5.200.0030.10720.13
5.5.190.0030.10020.28
5.5.180.0030.10020.23
5.5.160.0000.10719.99
5.5.150.0070.10720.14
5.5.140.0130.15320.11
5.5.130.0130.13720.12
5.5.120.0030.15020.17
5.5.110.0130.13720.07
5.5.100.0030.16020.13
5.5.90.0370.13720.04
5.5.80.0070.15020.15
5.5.70.0130.16320.05
5.5.60.0070.10720.15
5.5.50.0130.14719.96
5.5.40.0100.15720.07
5.5.30.0070.14319.99
5.5.20.0030.13319.99
5.5.10.0130.15720.11
5.5.00.0100.11720.04
5.4.450.0000.04319.35
5.4.440.0000.04719.42
5.4.430.0070.08019.29
5.4.420.0030.04319.35
5.4.410.0000.04319.01
5.4.400.0070.03318.91
5.4.390.0000.05719.03
5.4.380.0030.05718.97
5.4.370.0070.03719.23
5.4.360.0000.05719.05
5.4.350.0000.04018.79
5.4.340.0030.04318.95
5.4.320.0070.05019.10
5.4.310.0100.03019.13
5.4.300.0200.06319.04
5.4.290.0030.08018.98
5.4.280.0070.07319.07
5.4.270.0130.07319.05
5.4.260.0100.07718.96
5.4.250.0070.07719.05
5.4.240.0000.07719.04
5.4.230.0170.07318.79
5.4.220.0070.07718.78
5.4.210.0000.07318.98
5.4.200.0130.06718.98
5.4.190.0130.04318.94
5.4.180.0130.06718.96
5.4.170.0200.07019.22
5.4.160.0130.07319.03
5.4.150.0170.06719.07
5.4.140.0170.06716.38
5.4.130.0070.07716.36
5.4.120.0030.07316.28
5.4.110.0100.05716.38
5.4.100.0130.06716.23
5.4.90.0000.07016.41
5.4.80.0070.04316.34
5.4.70.0070.07316.22
5.4.60.0100.04716.32
5.4.50.0070.04716.28
5.4.40.0070.04016.26
5.4.30.0030.04316.29
5.4.20.0100.03316.31
5.4.10.0030.07316.40
5.4.00.0030.07315.57

preferences:
35.82 ms | 401 KiB | 5 Q