3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = "Madara is Awesome!"; $hash = password_hash($password, PASSWORD_BCRYPT); //Note nosalt. var_dump($hash); $verified = password_verify($password, $hash); var_dump($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.4.00.0070.14214.93
7.3.120.0070.14014.82
7.3.110.0100.13714.75
7.3.100.0030.13714.86
7.3.90.0070.13014.39
7.3.80.0100.14114.39
7.3.70.0070.12814.34
7.3.60.0070.12614.63
7.3.50.0070.13314.68
7.3.40.0130.12014.59
7.3.30.0000.13414.78
7.3.20.0070.12616.57
7.3.10.0070.12516.58
7.3.00.0100.12516.48
7.2.250.0030.14314.78
7.2.240.0100.13115.17
7.2.230.0070.13814.97
7.2.220.0030.13614.65
7.2.210.0130.13214.89
7.2.200.0030.12814.88
7.2.190.0030.13414.74
7.2.180.0070.13014.66
7.2.170.0070.12814.87
7.2.130.0100.12516.52
7.2.120.0030.13816.73
7.2.110.0070.12716.79
7.2.100.0030.13016.64
7.2.90.0070.12916.88
7.2.80.0000.13816.62
7.2.70.0000.13816.48
7.2.60.0030.13416.82
7.2.50.0100.13516.95
7.2.40.0070.12516.74
7.2.30.0130.12216.35
7.2.20.0100.13316.45
7.2.10.0130.12716.77
7.2.00.0050.13617.94
7.1.330.0070.12615.94
7.1.320.0070.12815.79
7.1.310.0030.13515.80
7.1.300.0070.12715.79
7.1.290.0000.13015.79
7.1.280.0000.13815.56
7.1.270.0030.13215.89
7.1.260.0000.13615.61
7.1.250.0030.13215.60
7.1.240.0000.13715.31
7.1.230.0000.13815.66
7.1.220.0070.12415.64
7.1.210.0070.12815.25
7.1.200.0050.12915.71
7.1.190.0030.12815.75
7.1.180.0100.12515.82
7.1.170.0000.13415.36
7.1.160.0130.12815.45
7.1.150.0080.13215.64
7.1.140.0000.13315.57
7.1.130.0030.13515.63
7.1.120.0130.12715.67
7.1.110.0070.12415.67
7.1.100.0050.13116.79
7.1.90.0070.12915.57
7.1.80.0070.12915.63
7.1.70.0100.12716.31
7.1.60.0130.15317.36
7.1.50.0030.13016.39
7.1.40.0100.13515.68
7.1.30.0160.12415.70
7.1.20.0030.13515.61
7.1.10.0140.12815.82
7.1.00.0030.17218.83
7.0.330.0100.12614.96
7.0.320.0070.13015.48
7.0.310.0030.13215.25
7.0.300.0170.12615.30
7.0.290.0000.13415.21
7.0.280.0070.12515.07
7.0.270.0030.12915.15
7.0.260.0070.12514.84
7.0.250.0100.13114.85
7.0.240.0130.12515.28
7.0.230.0070.13115.36
7.0.220.0030.13015.54
7.0.210.0070.12514.90
7.0.200.0020.13115.95
7.0.190.0100.12615.00
7.0.180.0070.13115.20
7.0.170.0100.13115.18
7.0.160.0070.12915.14
7.0.150.0130.12915.20
7.0.140.0120.16818.53
7.0.130.0070.12615.46
7.0.120.0030.13215.24
7.0.110.0100.12815.23
7.0.100.0070.17217.57
7.0.90.0100.16717.66
7.0.80.0080.16417.61
7.0.70.0030.18617.55
7.0.60.0070.16517.58
7.0.50.0120.18517.91
7.0.40.0050.17816.48
7.0.30.0100.17116.50
7.0.20.0080.17516.72
7.0.10.0050.18116.73
7.0.00.0070.17016.66
5.6.380.0030.13214.11
5.6.370.0100.12814.20
5.6.360.0090.12414.20
5.6.350.0100.12614.41
5.6.340.0070.12914.15
5.6.330.0100.12613.96
5.6.320.0000.13614.52
5.6.310.0100.13014.30
5.6.300.0000.13314.18
5.6.290.0030.13213.93
5.6.280.0030.18417.49
5.6.270.0070.12814.10
5.6.260.0070.12814.14
5.6.250.0020.18417.48
5.6.240.0030.17517.33
5.6.230.0050.16717.24
5.6.220.0050.16917.42
5.6.210.0050.18017.23
5.6.200.0070.17117.62
5.6.190.0070.15917.33
5.6.180.0150.17117.62
5.6.170.0100.16017.61
5.6.160.0050.17317.52
5.6.150.0120.17517.52
5.6.140.0030.18417.66
5.6.130.0100.17217.71
5.6.120.0080.16517.50
5.6.110.0070.17217.70
5.6.100.0100.17617.48
5.6.90.0030.18617.48
5.6.80.0080.17017.19
5.6.70.0080.17717.12
5.6.60.0050.18117.23
5.6.50.0070.17717.28
5.6.40.0070.17117.15
5.6.30.0100.17216.99
5.6.20.0050.16617.04
5.6.10.0020.14817.01
5.6.00.0050.17617.14
5.5.380.0050.17815.72
5.5.370.0100.14815.70
5.5.360.0030.17115.50
5.5.350.0050.17215.75
5.5.340.0050.16515.74
5.5.330.0050.16815.90
5.5.320.0100.17615.85
5.5.310.0020.16015.90
5.5.300.0030.15515.99
5.5.290.0000.17615.87
5.5.280.0080.16715.89
5.5.270.0020.18815.88
5.5.260.0050.15015.97
5.5.250.0030.16615.84
5.5.240.0020.14715.61
5.5.230.0030.18215.49
5.5.220.0080.17515.68
5.5.210.0100.14415.47
5.5.200.0080.17515.58
5.5.190.0050.18215.39
5.5.180.0050.17715.54
5.5.170.0060.12810.77
5.5.160.0030.16815.40
5.5.150.0070.18315.26
5.5.140.0050.14615.45
5.5.130.0080.16715.43
5.5.120.0070.18415.48
5.5.110.0030.16815.58
5.5.100.0100.17215.42
5.5.90.0100.14315.31
5.5.80.0070.17315.59
5.5.70.0070.16615.37
5.5.60.0020.18315.50
5.5.50.0030.16715.54
5.5.40.0030.17815.45
5.5.30.0050.18215.33
5.5.20.0030.17315.47
5.5.10.0100.17115.23
5.5.00.0070.14715.50
5.4.450.0070.04015.19
5.4.440.0050.04215.08
5.4.430.0050.04015.03
5.4.420.0110.03515.06
5.4.410.0070.04215.09
5.4.400.0070.02814.80
5.4.390.0050.04314.95
5.4.380.0090.03514.85
5.4.370.0050.04214.91
5.4.360.0050.04014.97
5.4.350.0020.04014.87
5.4.340.0050.03814.94
5.4.330.0000.00610.70
5.4.320.0050.02714.88
5.4.310.0070.04214.72
5.4.300.0020.04914.80
5.4.290.0100.03214.98
5.4.280.0030.04315.02
5.4.270.0050.04014.77
5.4.260.0050.04214.85
5.4.250.0020.04114.88
5.4.240.0040.04214.82
5.4.230.0020.04314.99
5.4.220.0100.03615.02
5.4.210.0050.02514.86
5.4.200.0100.03514.87
5.4.190.0050.03914.84
5.4.180.0040.03714.67
5.4.170.0070.03914.74
5.4.160.0040.03914.75
5.4.150.0050.03714.96
5.4.140.0030.04013.38
5.4.130.0060.04113.53
5.4.120.0080.03513.62
5.4.110.0040.02613.59
5.4.100.0090.03513.58
5.4.90.0070.03013.49
5.4.80.0050.04013.54
5.4.70.0110.03513.56
5.4.60.0060.02513.38
5.4.50.0070.03713.57
5.4.40.0050.04013.60
5.4.30.0070.03613.47
5.4.20.0050.04013.52
5.4.10.0050.04013.19
5.4.00.0070.03713.24
5.3.290.0060.03612.49
5.3.280.0020.04612.29
5.3.270.0050.04312.45
5.3.260.0060.03512.39
5.3.250.0030.04212.48
5.3.240.0070.03612.36
5.3.230.0140.02012.33
5.3.220.0070.03712.43
5.3.210.0080.03512.40
5.3.200.0020.02212.41
5.3.190.0030.04312.38
5.3.180.0020.03212.43
5.3.170.0080.03712.44
5.3.160.0050.03812.39
5.3.150.0030.04212.42
5.3.140.0080.03512.38
5.3.130.0050.03812.46
5.3.120.0030.02512.33
5.3.110.0110.03612.34
5.3.100.0110.03312.20
5.3.90.0060.03512.25
5.3.80.0050.03812.13
5.3.70.0030.04212.17
5.3.60.0040.03912.12
5.3.50.0070.03712.09
5.3.40.0070.03712.01
5.3.30.0080.02112.08
5.3.20.0030.04111.98
5.3.10.0060.03111.87
5.3.00.0100.02511.84
5.2.170.0070.02510.29
5.2.160.0050.03110.24
5.2.150.0030.03310.29
5.2.140.0030.02310.20
5.2.130.0020.03610.15
5.2.120.0050.03210.23
5.2.110.0090.02710.15
5.2.100.0080.02310.26
5.2.90.0030.01810.08
5.2.80.0050.03210.03
5.2.70.0060.03110.16
5.2.60.0040.03110.07
5.2.50.0070.02810.13
5.2.40.0050.03210.08
5.2.30.0030.03210.09
5.2.20.0060.03110.14
5.2.10.0030.0309.84
5.2.00.0000.0369.84
5.1.60.0030.0269.15
5.1.50.0100.0239.22
5.1.40.0030.0239.23
5.1.30.0020.0249.46
5.1.20.0050.0179.27
5.1.10.0060.0279.33
5.1.00.0050.0189.20
5.0.50.0050.0178.47
5.0.40.0030.0238.47
5.0.30.0020.0338.47
5.0.20.0060.0208.47
5.0.10.0000.0268.47
5.0.00.0020.0368.47
4.4.90.0020.0188.47
4.4.80.0050.0188.47
4.4.70.0020.0208.47
4.4.60.0050.0178.47
4.4.50.0020.0198.47
4.4.40.0000.0318.47
4.4.30.0050.0178.47
4.4.20.0020.0208.47
4.4.10.0000.0208.47
4.4.00.0030.0288.47
4.3.110.0020.0198.47
4.3.100.0070.0138.47
4.3.90.0030.0188.47
4.3.80.0050.0278.47
4.3.70.0030.0178.47
4.3.60.0020.0218.47
4.3.50.0020.0208.47
4.3.40.0030.0268.47
4.3.30.0020.0118.47
4.3.20.0020.0208.47
4.3.10.0020.0158.47
4.3.00.0010.0208.47

preferences:
38.49 ms | 401 KiB | 5 Q