3v4l.org

run code in 300+ PHP versions simultaneously
<?php /** * We just want to hash our password using the current DEFAULT algorithm. * This is presently BCRYPT, and will produce a 60 character result. * * Beware that DEFAULT may change over time, so you would want to prepare * By allowing your storage to expand past 60 characters (255 would be good) */ echo password_hash("54af4ba64ec0a86f4f3e1e45159df08902ab8f40", PASSWORD_DEFAULT)."\n"; ?>

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.110.0310.07316.05
7.2.60.0000.07516.91
7.2.00.0100.06619.28
7.1.200.0070.06715.77
7.1.100.0000.07417.89
7.1.70.0030.06516.64
7.1.60.0160.07119.70
7.1.50.0130.11516.86
7.1.00.0030.16722.33
7.0.200.0070.06216.56
7.0.140.0030.15321.99
7.0.110.0670.12320.04
7.0.100.0600.14720.00
7.0.90.0730.15020.04
7.0.80.0630.13319.84
7.0.70.0600.13320.07
7.0.60.0670.14719.95
7.0.50.0100.13720.46
7.0.40.0100.14320.21
7.0.30.0070.15719.96
7.0.20.0100.14720.22
7.0.10.0130.15720.11
7.0.00.0100.16320.26
5.6.280.0100.16020.77
5.6.250.0170.14320.71
5.6.240.0030.14320.69
5.6.230.0100.16320.68
5.6.220.0070.14320.54
5.6.210.0100.15320.55
5.6.200.0170.15021.02
5.6.190.0100.15321.13
5.6.180.0030.13021.11
5.6.170.0070.16021.26
5.6.160.0070.14321.11
5.6.150.0030.17321.07
5.6.140.0070.16020.93
5.6.130.0100.16021.21
5.6.120.0030.14020.92
5.6.110.0030.11321.12
5.6.100.0070.16021.07
5.6.90.0100.16021.05
5.6.80.0170.11020.52
5.6.70.0000.15720.64
5.6.60.0130.15020.45
5.6.50.0130.14320.52
5.6.40.0030.15720.37
5.6.30.0030.16320.54
5.6.20.0100.15720.29
5.6.10.0130.17020.29
5.6.00.0100.15020.59
5.5.380.0030.15020.24
5.5.370.0170.14020.53
5.5.360.0100.15720.54
5.5.350.0170.12720.45
5.5.340.0070.14020.77
5.5.330.0130.13720.88
5.5.320.0100.17320.89
5.5.310.0030.14320.80
5.5.300.0200.14020.73
5.5.290.0100.14020.83
5.5.280.0000.15720.89
5.5.270.0100.13020.73
5.5.260.0070.14720.73
5.5.250.0100.14720.77
5.5.240.0130.15320.08
5.5.230.0100.16020.32
5.5.220.0130.15020.14
5.5.210.0130.16020.24
5.5.200.0130.14720.32
5.5.190.0100.15020.18
5.5.180.0100.15320.38
5.5.160.0170.15020.29
5.5.150.0170.12020.08
5.5.140.0070.16020.29
5.5.130.0030.15320.24
5.5.120.0130.13720.18
5.5.110.0100.14720.08
5.5.100.0030.11720.25
5.5.90.0200.10720.15
5.5.80.0230.13719.97
5.5.70.0100.15719.94
5.5.60.0030.16320.06
5.5.50.0030.16320.14
5.5.40.0070.13020.18
5.5.30.0070.15720.11
5.5.20.0100.14320.11
5.5.10.0170.12019.93
5.5.00.0100.15019.94
5.4.450.0170.07319.36
5.4.440.0130.06319.35
5.4.430.0030.08319.27
5.4.420.0000.06019.34
5.4.410.0000.08319.31
5.4.400.0130.06719.08
5.4.390.0100.08019.02
5.4.380.0070.07719.00
5.4.370.0070.07018.95
5.4.360.0170.07019.03
5.4.350.0030.07718.90
5.4.340.0100.07719.27
5.4.320.0100.07018.93
5.4.310.0100.07018.98
5.4.300.0070.07319.24
5.4.290.0170.07018.95
5.4.280.0030.08319.12
5.4.270.0030.08018.95
5.4.260.0100.04718.95
5.4.250.0100.08019.03
5.4.240.0030.07019.24
5.4.230.0100.07318.95
5.4.220.0030.07319.02
5.4.210.0070.07719.02
5.4.200.0070.04319.24
5.4.190.0170.06319.03
5.4.180.0070.07019.11
5.4.170.0100.04719.02
5.4.160.0100.07319.08
5.4.150.0070.04718.90
5.4.140.0100.06716.55
5.4.130.0130.06716.25
5.4.120.0070.07316.16
5.4.110.0030.07016.13
5.4.100.0100.06716.54
5.4.90.0100.06716.47
5.4.80.0070.07316.29
5.4.70.0000.08716.27
5.4.60.0100.06716.50
5.4.50.0070.06716.29
5.4.40.0070.07316.59
5.4.30.0100.06716.20
5.4.20.0070.07716.36
5.4.10.0130.06016.21
5.4.00.0070.04016.00
5.3.290.0170.06714.76
5.3.280.0100.07314.54
5.3.270.0100.07714.70
5.3.260.0100.07014.69
5.3.250.0030.05314.70
5.3.240.0030.08014.50
5.3.230.0070.08314.45
5.3.220.0130.07014.35
5.3.210.0030.07314.49
5.3.200.0130.06714.34
5.3.190.0030.07714.42
5.3.180.0070.07714.65
5.3.170.0070.07314.34
5.3.160.0100.07714.35
5.3.150.0030.07014.65
5.3.140.0200.06314.38
5.3.130.0100.07014.55
5.3.120.0100.07314.43
5.3.110.0130.07314.46
5.3.100.0030.06313.88
5.3.90.0070.06314.02
5.3.80.0070.03713.94
5.3.70.0100.07013.80
5.3.60.0100.07013.86
5.3.50.0070.07013.80
5.3.40.0200.06013.77
5.3.30.0030.04313.73
5.3.20.0100.06713.70
5.3.10.0070.07013.58
5.3.00.0130.06313.42
5.2.170.0000.06711.04
5.2.160.0030.06311.15
5.2.150.0030.06711.15
5.2.140.0100.05311.07
5.2.130.0070.03311.04
5.2.120.0030.06010.98
5.2.110.0000.06310.99
5.2.100.0100.06011.16
5.2.90.0070.06311.00
5.2.80.0070.06311.01
5.2.70.0030.06711.12
5.2.60.0030.06710.98
5.2.50.0100.06010.90
5.2.40.0070.04310.78
5.2.30.0030.06010.98
5.2.20.0130.05310.98
5.2.10.0000.06310.71
5.2.00.0070.05310.93
5.1.60.0030.0539.80
5.1.50.0070.04010.14
5.1.40.0030.05710.04
5.1.30.0100.05310.24
5.1.20.0100.05010.48
5.1.10.0100.0509.96
5.1.00.0030.04710.21
5.0.50.0070.0478.61
5.0.40.0070.0238.41
5.0.30.0000.0338.29
5.0.20.0030.0408.27
5.0.10.0030.0378.25
5.0.00.0030.0608.25
4.4.90.0000.0408.25
4.4.80.0030.0378.25
4.4.70.0100.0278.25
4.4.60.0030.0378.25
4.4.50.0030.0338.25
4.4.40.0000.0578.25
4.4.30.0030.0338.25
4.4.20.0070.0308.25
4.4.10.0070.0338.25
4.4.00.0070.0438.25
4.3.110.0030.0338.25
4.3.100.0000.0378.25
4.3.90.0030.0308.25
4.3.80.0170.0278.25
4.3.70.0070.0308.25
4.3.60.0000.0378.25
4.3.50.0030.0338.25
4.3.40.0000.0538.25
4.3.30.0000.0378.25
4.3.20.0000.0408.25
4.3.10.0070.0308.25
4.3.00.0000.0408.25

preferences:
31.37 ms | 400 KiB | 5 Q