3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = array( //DO NOT ADD A CUSTOM SALT! I WILL SLAP YOU CRAZY! 'cost' => 11 ); echo password_hash("admin123", PASSWORD_DEFAULT, $options);

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.13614.62
7.3.120.0070.14014.86
7.3.110.0100.13414.70
7.3.100.0070.13214.79
7.3.90.0030.13314.78
7.3.80.0000.13514.66
7.3.70.0070.12714.79
7.3.60.0100.12814.54
7.3.50.0030.12314.84
7.3.40.0000.13714.65
7.3.30.0100.12814.55
7.3.20.0030.13216.69
7.3.10.0070.12416.46
7.3.00.0070.12416.62
7.2.250.0070.14015.12
7.2.240.0030.13814.89
7.2.230.0100.13014.95
7.2.220.0000.13514.75
7.2.210.0070.13214.59
7.2.200.0100.12315.04
7.2.190.0070.12914.58
7.2.180.0030.12714.89
7.2.170.0000.13615.00
7.2.110.0160.12416.53
7.2.100.0130.12516.52
7.2.90.0190.12716.49
7.2.80.0160.13016.46
7.2.70.0030.13716.42
7.2.60.0160.12816.50
7.2.50.0160.13016.74
7.2.40.0130.13316.82
7.2.30.0200.12616.83
7.2.20.0070.12716.64
7.2.10.0280.12116.66
7.2.00.0060.13117.84
7.1.330.0100.12515.81
7.1.320.0000.13015.89
7.1.310.0000.12915.83
7.1.300.0000.13415.40
7.1.290.0030.12515.72
7.1.280.0100.12615.64
7.1.270.0000.13015.78
7.1.260.0000.13415.47
7.1.230.0470.12815.29
7.1.220.0130.12415.80
7.1.210.0070.13615.77
7.1.200.0120.12915.71
7.1.190.0100.13215.27
7.1.180.0060.13715.41
7.1.170.0260.12215.60
7.1.160.0060.12815.70
7.1.150.0060.12815.72
7.1.140.0190.12315.61
7.1.130.0030.12915.74
7.1.120.0200.13315.70
7.1.110.0220.12515.86
7.1.100.0100.13116.94
7.1.90.0130.12615.86
7.1.80.0290.12415.71
7.1.70.0050.12916.41
7.1.60.0050.16318.01
7.1.50.0440.14925.03
7.1.40.0460.13715.96
7.1.30.1880.12515.79
7.1.20.1300.13033.65
7.1.10.0180.12515.71
7.1.00.0130.17519.20
7.0.310.0200.12915.12
7.0.300.0100.12915.16
7.0.290.0230.12615.41
7.0.280.0230.12715.04
7.0.270.0290.11715.38
7.0.260.0300.13015.38
7.0.250.0130.12815.51
7.0.240.0130.12715.45
7.0.230.0140.13215.23
7.0.220.0000.13615.35
7.0.210.0360.12615.37
7.0.200.0050.13415.95
7.0.190.0100.12515.11
7.0.180.0100.13515.16
7.0.170.0100.12915.43
7.0.160.0140.13015.09
7.0.150.0070.12815.27
7.0.140.0160.12415.34
7.0.130.0400.12715.06
7.0.120.0420.12715.52
7.0.110.0050.18117.59
7.0.100.0120.18717.50
7.0.90.0200.17317.60
7.0.80.0120.17717.56
7.0.70.0130.16617.67
7.0.60.0050.18217.60
7.0.50.0080.17417.86
7.0.40.0030.18116.71
7.0.30.0100.16616.82
7.0.20.0030.17516.76
7.0.10.0100.18016.81
7.0.00.0120.16616.79
5.6.380.0130.13014.05
5.6.370.0070.13814.02
5.6.360.0070.13214.24
5.6.350.0160.12514.35
5.6.340.0030.13513.89
5.6.330.0100.13114.07
5.6.320.0090.12714.31
5.6.310.0070.13114.15
5.6.300.0090.12614.24
5.6.290.0100.13214.23
5.6.280.0100.17917.71
5.6.270.0100.12614.52
5.6.260.0130.12014.39
5.6.250.0100.16517.47
5.6.240.0130.16217.41
5.6.230.0100.16617.44
5.6.220.0150.14717.45
5.6.210.0110.17017.32
5.6.200.0130.16517.69
5.6.190.0130.16617.63
5.6.180.0120.17917.56
5.6.170.0070.13717.54
5.6.160.0110.17217.59
5.6.150.0070.17917.63
5.6.140.0080.17117.66
5.6.130.0080.15217.60
5.6.120.0080.18317.44
5.6.110.0110.16817.65
5.6.100.0100.17317.53
5.6.90.0130.17017.53
5.6.80.0100.17617.45
5.6.70.0070.17217.24
5.6.60.0050.15517.27
5.6.50.0070.14817.15
5.6.40.0120.16817.18
5.6.30.0070.17817.19
5.6.20.0080.17417.26
5.6.10.0080.18017.31
5.6.00.0050.17217.25
5.5.380.0080.17015.74
5.5.370.0100.16415.72
5.5.360.0050.18515.66
5.5.350.0080.13615.52
5.5.340.0130.16515.92
5.5.330.0050.16116.03
5.5.320.0080.18616.04
5.5.310.0080.17115.97
5.5.300.0080.18016.04
5.5.290.0100.16815.91
5.5.280.0080.17215.87
5.5.270.0120.17416.18
5.5.260.0070.18015.98
5.5.250.0100.17015.85
5.5.240.0050.17115.66
5.5.230.0100.17815.48
5.5.220.0070.15715.66
5.5.210.0050.17315.61
5.5.200.0090.16715.57
5.5.190.0050.18315.60
5.5.180.0100.17215.64
5.5.170.0160.12514.27
5.5.160.0070.17215.54
5.5.150.0080.17115.54
5.5.140.0100.17315.59
5.5.130.0070.17715.42
5.5.120.0080.15115.61
5.5.110.0160.16115.63
5.5.100.0070.18115.48
5.5.90.0130.16315.71
5.5.80.0020.18515.61
5.5.70.0050.16215.49
5.5.60.0080.15815.63
5.5.50.0070.17215.30
5.5.40.0050.17615.38
5.5.30.0070.16715.49
5.5.20.0100.16215.56
5.5.10.0050.18015.50
5.5.00.0060.17015.54
5.4.450.0050.04715.07
5.4.440.0100.03815.12
5.4.430.0070.04415.16
5.4.420.0080.03814.88
5.4.410.0030.04614.96
5.4.400.0040.03314.88
5.4.390.0120.03714.96
5.4.380.0080.03715.06
5.4.370.0060.03014.95
5.4.360.0050.04214.88
5.4.350.0080.04014.94
5.4.340.0130.03014.98
5.4.330.0070.00010.84
5.4.320.0070.03015.10
5.4.310.0080.04314.93
5.4.300.0070.04514.92
5.4.290.0030.02814.91
5.4.280.0120.03514.96
5.4.270.0060.03814.91
5.4.260.0130.03514.96
5.4.250.0110.03815.03
5.4.240.0060.02814.82
5.4.230.0070.04315.02
5.4.220.0030.04715.04
5.4.210.0090.02014.82
5.4.200.0050.03714.87
5.4.190.0050.03914.98
5.4.180.0110.03514.93
5.4.170.0100.02914.77
5.4.160.0040.03315.03
5.4.150.0070.04514.88
5.4.140.0080.03813.61
5.4.130.0070.03713.35
5.4.120.0080.02513.53
5.4.110.0080.02513.61
5.4.100.0070.02313.67
5.4.90.0070.03513.55
5.4.80.0040.04113.65
5.4.70.0070.04113.65
5.4.60.0050.04213.66
5.4.50.0070.04013.69
5.4.40.0090.02413.48
5.4.30.0120.03013.42
5.4.20.0040.04113.74
5.4.10.0080.03813.50
5.4.00.0070.03613.19

preferences:
49.09 ms | 401 KiB | 5 Q