3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass = 'canyouhearme'; $crypt = password_hash($pass, PASSWORD_BCRYPT, ['cost' => 11]); echo $crypt;

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.10.0070.13314.97
7.4.00.0030.14314.87
7.3.130.0030.13314.64
7.3.120.0000.14514.77
7.3.110.0160.12214.88
7.3.100.0070.12714.67
7.3.90.0100.13314.32
7.3.80.0100.12614.68
7.3.70.0030.13514.64
7.3.60.0030.13314.63
7.3.50.0070.12814.54
7.3.40.0030.13414.52
7.3.30.0030.12814.75
7.3.20.0030.13416.28
7.3.10.0130.11816.38
7.3.00.0100.12616.50
7.2.260.0070.14014.88
7.2.250.0070.13715.11
7.2.240.0100.12614.98
7.2.230.0030.13614.53
7.2.220.0100.12515.09
7.2.210.0000.13414.68
7.2.200.0070.14114.66
7.2.190.0030.13614.88
7.2.180.0030.12914.84
7.2.170.0000.13514.80
7.2.160.0030.12614.92
7.2.150.0030.13117.01
7.2.140.0000.12616.66
7.2.130.0030.13416.53
7.2.120.0060.13017.00
7.2.110.0070.12816.63
7.2.100.0030.12716.88
7.2.90.0030.13416.92
7.2.80.0100.12116.93
7.2.70.0030.13316.98
7.2.60.0080.12616.80
7.2.50.0030.12816.82
7.2.40.0070.12516.97
7.2.30.0130.12516.88
7.2.20.0030.12916.79
7.2.10.0070.13017.02
7.2.00.0000.13217.92
7.1.330.0130.12815.92
7.1.320.0030.13215.87
7.1.310.0070.12915.71
7.1.300.0030.13415.84
7.1.290.0070.12915.53
7.1.280.0030.13715.95
7.1.270.0100.12915.86
7.1.260.0030.13815.50
7.1.250.0030.13515.89
7.1.240.0070.12415.87
7.1.230.0030.13015.86
7.1.220.0100.13515.79
7.1.210.0000.13715.64
7.1.200.0030.12915.77
7.1.190.0030.13115.74
7.1.180.0000.13215.74
7.1.170.0030.12815.80
7.1.160.0070.12915.62
7.1.150.0100.12515.71
7.1.140.0030.13015.63
7.1.130.0070.12815.71
7.1.120.0030.13115.95
7.1.110.0070.13015.80
7.1.100.0030.13317.01
7.1.90.0070.12215.74
7.1.80.0030.13215.91
7.1.70.0020.12816.48
7.1.60.0080.15717.33
7.1.50.0080.15916.46
7.1.40.0070.12615.68
7.1.30.0070.12515.86
7.1.20.0100.12515.87
7.1.10.0000.13315.47
7.1.00.0050.18519.03
7.0.330.0000.13015.60
7.0.320.0030.12515.46
7.0.310.0030.13015.54
7.0.300.0100.12515.41
7.0.290.0030.13115.44
7.0.280.0070.12715.24
7.0.270.0030.12715.36
7.0.260.0030.12715.49
7.0.250.0030.12515.38
7.0.240.0000.13215.25
7.0.230.0030.12815.32
7.0.220.0030.12715.27
7.0.210.0030.13415.38
7.0.200.0070.12816.05
7.0.190.0030.12615.57
7.0.180.0030.13015.38
7.0.170.0030.13215.37
7.0.160.0030.13115.25
7.0.150.0030.12915.38
7.0.140.0000.13215.47
7.0.130.0070.12615.21
7.0.120.0030.12715.52
7.0.110.0030.12815.20
7.0.100.0000.13115.63
7.0.90.0030.13615.42
7.0.80.0070.12815.44
7.0.70.0030.13115.35
7.0.60.0080.15517.53
7.0.50.0080.17216.58
7.0.40.0000.14816.82
7.0.30.0180.15216.82
7.0.20.0150.16116.93
7.0.10.0070.16116.80
7.0.00.0030.15916.77
5.6.400.0000.13314.46
5.6.390.0030.12814.30
5.6.380.0030.13014.36
5.6.370.0000.13714.32
5.6.360.0000.13614.23
5.6.350.0070.12414.45
5.6.340.0030.13214.40
5.6.330.0070.12914.24
5.6.320.0000.13414.55
5.6.310.0070.12814.55
5.6.300.0030.12413.79
5.6.290.0130.12314.25
5.6.280.0030.14917.69
5.6.270.0030.13214.16
5.6.260.0000.13614.25
5.6.250.0030.13214.19
5.6.240.0000.13314.34
5.6.230.0000.13814.57
5.6.220.0070.12914.26
5.6.210.0050.15517.44
5.6.200.0000.17416.19
5.6.190.0050.15217.32
5.6.180.1770.15217.46
5.6.170.0150.16217.63
5.6.160.0050.15417.30
5.6.150.0120.16916.28
5.6.140.0030.15416.15
5.6.130.0030.14516.09
5.6.120.0070.17017.56
5.6.110.0030.14517.63
5.6.100.0000.16117.58
5.6.90.0320.14517.65
5.6.80.0120.17917.19
5.6.70.0070.13014.34
5.6.60.0000.12914.16
5.6.50.0100.12614.06
5.6.40.0000.13713.99
5.6.30.0070.12914.41
5.6.20.0030.13214.41
5.6.10.0030.13014.15
5.6.00.0030.12514.35
5.5.380.0000.12714.27
5.5.370.0000.13114.33
5.5.360.0070.12714.14
5.5.350.0100.17417.32
5.5.340.0050.14616.28
5.5.330.0080.17117.30
5.5.320.0330.16917.56
5.5.310.0150.14817.09
5.5.300.0030.18016.05
5.5.290.0070.15216.15
5.5.280.0080.14217.55
5.5.270.0080.17617.40
5.5.260.0050.15517.66
5.5.250.0000.15817.42
5.5.240.0120.13417.07
5.5.230.0000.13414.27
5.5.220.0070.12214.23
5.5.210.0070.12814.29
5.5.200.0030.12713.98
5.5.190.0030.12514.32
5.5.180.0000.12414.32
5.5.170.0070.12514.25
5.5.160.0030.12914.26
5.5.150.0000.13414.33
5.5.140.0030.13614.27
5.5.130.0030.13714.18
5.5.120.0000.13114.20
5.5.110.0030.12814.26
5.5.100.0030.12714.05
5.5.90.0030.12714.25
5.5.80.0030.12814.09
5.5.70.0070.12714.00
5.5.60.0000.13514.20
5.5.50.0070.12613.95
5.5.40.0070.12214.28
5.5.30.0100.13114.24
5.5.20.0030.13214.01
5.5.10.0070.12414.03
5.5.00.0070.12313.95

preferences:
33.86 ms | 401 KiB | 5 Q