3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ 'cost' => 11, 'salt' => 'abcdefghijklmnopqrstuv', ]; echo password_hash("rasmuslerdorf", PASSWORD_DEFAULT, $options)."\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.4.00.0070.13714.74
7.3.120.0070.14114.83
7.3.110.0070.13514.71
7.3.100.0080.13314.92
7.3.90.0050.13014.93
7.3.80.0050.13715.03
7.3.70.0030.13114.69
7.3.60.0080.12414.70
7.3.50.0020.13614.73
7.3.40.0020.13514.61
7.3.30.0020.13314.63
7.3.20.0030.13016.49
7.3.10.0070.12616.63
7.3.00.0040.13216.62
7.2.250.0100.13115.11
7.2.240.0080.13915.08
7.2.230.0080.13414.83
7.2.220.0070.13214.95
7.2.210.0070.13614.97
7.2.200.0070.13714.76
7.2.190.0070.13614.79
7.2.180.0050.13614.82
7.2.170.0070.13414.86
7.2.130.0000.12716.81
7.2.120.0030.12916.93
7.2.110.0000.13216.97
7.2.100.0030.13216.50
7.2.90.0100.12316.71
7.2.80.0100.12816.66
7.2.70.0000.13716.88
7.2.60.0050.13116.59
7.2.50.0070.12517.06
7.2.40.0030.13516.76
7.2.30.0100.12416.80
7.2.20.0070.12816.77
7.2.10.0070.12616.67
7.2.00.0080.12917.92
7.1.330.0020.13315.66
7.1.320.0050.13215.88
7.1.310.0020.13315.78
7.1.300.0070.13515.76
7.1.290.0050.13215.82
7.1.280.0030.13115.86
7.1.270.0050.12815.74
7.1.260.0050.12715.46
7.1.250.0000.13715.70
7.1.200.0030.12715.39
7.1.100.0000.13818.25
7.1.70.0030.12917.14
7.1.60.0070.20619.30
7.1.50.0070.18116.89
7.1.00.0030.23722.36
7.0.200.0030.12616.73
7.0.60.0200.15719.89
7.0.50.0070.23717.80
7.0.40.0170.21320.04
7.0.30.0300.21320.07
7.0.20.0270.22320.09
7.0.10.0070.21720.11
7.0.00.0130.20720.20
5.6.280.0070.20021.06
5.6.210.0070.15320.54
5.6.200.0170.21018.22
5.6.190.0100.16320.62
5.6.180.0400.15720.41
5.6.170.0300.21320.44
5.6.160.0070.17018.15
5.6.150.0000.16718.18
5.6.140.0070.22718.07
5.6.130.0130.22718.15
5.6.120.0070.19020.89
5.6.110.0070.20321.00
5.6.100.0200.22021.00
5.6.90.0100.20321.09
5.6.80.0170.20320.41
5.5.350.0300.19720.39
5.5.340.0070.15317.91
5.5.330.0100.15320.07
5.5.320.0170.18020.25
5.5.310.0200.16720.27
5.5.300.0100.15717.98
5.5.290.0000.17717.98
5.5.280.0100.17720.87
5.5.270.0070.19020.66
5.5.260.0100.21720.89
5.5.250.0100.21320.68
5.5.240.0270.20720.34

preferences:
36.22 ms | 400 KiB | 5 Q