3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ 'cost' => 7, 'salt' => 'BCryptRequires22Chrcts', ]; $hash = password_hash("rasmuslerdorf", PASSWORD_BCRYPT, $options); var_dump(password_get_info($hash));

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.3.120.0100.01314.65
7.3.110.0070.01814.79
7.3.100.0100.01614.64
7.3.90.0030.01614.59
7.3.80.0100.01614.81
7.3.70.0130.01014.74
7.3.60.0030.01914.55
7.3.50.0070.01014.32
7.3.40.0040.01814.74
7.3.30.0000.01614.64
7.3.20.0000.02116.59
7.3.10.0040.01416.28
7.3.00.0040.01516.73
7.2.240.0000.02214.73
7.2.230.0040.01914.86
7.2.220.0170.00714.75
7.2.210.0040.02214.84
7.2.200.0090.01214.74
7.2.190.0070.01714.91
7.2.180.0030.01914.89
7.2.170.0030.01714.82
7.2.160.0060.01614.91
7.2.150.0030.01716.85
7.2.140.0100.01416.81
7.2.130.0070.01316.80
7.2.120.0060.01216.77
7.2.110.0090.01216.80
7.2.100.0060.01616.73
7.2.90.0070.01716.89
7.2.80.0070.01316.80
7.2.70.0060.01516.67
7.2.60.0050.01516.80
7.2.50.0040.01816.70
7.2.40.0100.01416.60
7.2.30.0070.01516.82
7.2.20.0070.01416.89
7.2.10.0120.01216.82
7.2.00.0000.02116.81
7.1.330.0040.01515.77
7.1.320.0060.01515.70
7.1.310.0040.01915.64
7.1.300.0030.02015.75
7.1.290.0030.02015.89
7.1.280.0110.00615.45
7.1.270.0030.02015.84
7.1.260.0070.01715.65
7.1.250.0110.01115.61
7.1.200.0000.02215.80
7.1.70.0000.01617.03
7.1.60.0100.02619.17
7.1.50.0000.01916.98
7.1.00.0030.09022.52
7.0.200.0060.01616.62
7.0.140.0030.08722.12
7.0.70.0070.09321.71
7.0.60.0100.08721.73
7.0.50.0070.05322.13
7.0.40.0030.09720.09
7.0.30.0030.09719.95
7.0.20.0070.09320.16
7.0.10.0030.08720.04
7.0.00.0000.09720.10
5.6.220.0070.06720.67
5.6.210.0030.07720.52
5.6.200.0030.09321.16
5.6.190.0070.09721.16
5.6.180.0130.07721.13
5.6.170.0100.09320.99
5.6.160.0000.05321.05
5.6.150.0100.08021.00
5.6.140.0070.06020.98
5.6.130.0030.07021.16
5.6.120.0030.10020.96
5.6.110.0030.09720.96
5.6.100.0100.08721.03
5.6.90.0030.10321.00
5.6.80.0070.09720.34
5.6.70.0130.08320.41
5.6.60.0100.09020.53
5.6.50.0070.09020.55
5.6.40.0070.09320.38
5.6.30.0070.07020.30
5.6.20.0070.09320.38
5.6.10.0070.06320.42
5.6.00.0030.09020.39
5.5.360.0100.09020.36
5.5.350.0000.08720.47
5.5.340.0130.09020.84
5.5.330.0030.09320.64
5.5.320.0000.09320.87
5.5.310.0030.08720.86
5.5.300.0000.09720.86
5.5.290.0130.08720.79
5.5.280.0000.09020.78
5.5.270.0070.09320.91
5.5.260.0130.08320.84
5.5.250.0070.05720.68
5.5.240.0130.08720.17
5.5.230.0030.10020.18
5.5.220.0100.06020.16
5.5.210.0130.08020.17
5.5.200.0130.05720.26
5.5.190.0030.08020.20
5.5.180.0100.09020.16
5.5.160.0030.09720.26
5.5.150.0000.09319.98
5.5.140.0000.09320.14
5.5.130.0100.09320.13
5.5.120.0070.08020.21
5.5.110.0030.10020.21
5.5.100.0030.08020.15
5.5.90.0030.09320.11
5.5.80.0030.06720.04
5.5.70.0000.08720.09
5.5.60.0030.09020.13
5.5.50.0100.06320.13
5.5.40.0000.08720.07
5.5.30.0030.09020.17
5.5.20.0030.04720.17
5.5.10.0100.09020.06
5.5.00.0000.06320.11
5.4.450.0070.07719.38
5.4.440.0000.06719.46
5.4.430.0000.06319.55
5.4.420.0030.06719.37
5.4.410.0070.05019.31
5.4.400.0100.06719.08
5.4.390.0000.06019.14
5.4.380.0070.06018.95
5.4.370.0030.05018.80
5.4.360.0000.07319.12
5.4.350.0030.04318.98
5.4.340.0030.05019.03
5.4.320.0030.05019.14
5.4.310.0070.07018.90
5.4.300.0130.04319.05
5.4.290.0000.08319.05
5.4.280.0070.04319.04
5.4.270.0070.05719.14
5.4.260.0030.07318.82
5.4.250.0000.04318.94
5.4.240.0000.04318.77
5.4.230.0000.08318.89
5.4.220.0030.05718.89
5.4.210.0030.07718.95
5.4.200.0030.05018.77
5.4.190.0030.06719.02
5.4.180.0030.07019.09
5.4.170.0000.05318.77
5.4.160.0030.08019.00
5.4.150.0070.05719.11
5.4.140.0000.04016.27
5.4.130.0070.06316.37
5.4.120.0030.06016.38
5.4.110.0030.07316.25
5.4.100.0070.05716.21
5.4.90.0070.05316.34
5.4.80.0100.07016.36
5.4.70.0070.07316.31
5.4.60.0070.06016.24
5.4.50.0030.07316.24
5.4.40.0000.03716.25
5.4.30.0070.05316.32
5.4.20.0030.03716.27
5.4.10.0000.03716.18
5.4.00.0000.05315.80
5.3.290.0030.06714.65
5.3.280.0030.07714.58
5.3.270.0070.07714.43
5.3.260.0030.07314.58
5.3.250.0000.04014.55
5.3.240.0000.05014.62
5.3.230.0070.04014.58
5.3.220.0030.07714.54
5.3.210.0030.05714.43
5.3.200.0100.07314.56
5.3.190.0030.07714.42
5.3.180.0000.08014.55
5.3.170.0030.07314.43
5.3.160.0070.06714.50
5.3.150.0130.06314.41
5.3.140.0000.03714.53
5.3.130.0070.05014.46
5.3.120.0000.06314.49
5.3.110.0030.04014.41
5.3.100.0070.04314.03
5.3.90.0000.04014.01
5.3.80.0070.03014.00
5.3.70.0000.05013.79
5.3.60.0030.03314.01
5.3.50.0030.03313.91
5.3.40.0030.04313.90
5.3.30.0000.03713.89
5.3.20.0000.03713.54
5.3.10.0000.04313.65
5.3.00.0000.03713.61
5.2.170.0070.04012.25
5.2.160.0000.04012.25
5.2.150.0000.04012.25
5.2.140.0000.04012.25
5.2.130.0000.02712.25
5.2.120.0030.02712.25
5.2.110.0000.03012.25
5.2.100.0000.03012.25
5.2.90.0030.02712.25
5.2.80.0030.02712.25
5.2.70.0030.02712.25
5.2.60.0000.03012.25
5.2.50.0030.06312.25
5.2.40.0000.03012.25
5.2.30.0030.03012.25
5.2.20.0000.03012.25
5.2.10.0000.02712.25
5.2.00.0000.03012.25
5.1.60.0000.02312.25
5.1.50.0000.02312.25
5.1.40.0030.02312.25
5.1.30.0030.04312.25
5.1.20.0070.05312.25
5.1.10.0000.03312.25
5.1.00.0070.04012.25
5.0.50.0000.02312.25
5.0.40.0030.01712.25
5.0.30.0000.03312.25
5.0.20.0070.01312.25
5.0.10.0030.03312.25
5.0.00.0000.04712.25
4.4.90.0000.01712.25
4.4.80.0000.01312.25
4.4.70.0030.01312.25
4.4.60.0000.01712.25
4.4.50.0000.01712.25
4.4.40.0000.02712.25
4.4.30.0000.01312.25
4.4.20.0000.01712.25
4.4.10.0030.01312.25
4.4.00.0000.02312.25
4.3.110.0030.02012.25
4.3.100.0000.01312.25
4.3.90.0000.01712.25
4.3.80.0030.02712.25
4.3.70.0000.01312.25
4.3.60.0000.02012.25
4.3.50.0030.01312.25
4.3.40.0030.02712.25
4.3.30.0030.01312.25
4.3.20.0030.01312.25
4.3.10.0000.01712.25
4.3.00.0030.01312.25

preferences:
35.55 ms | 401 KiB | 5 Q