3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cost = 12; $hash = password_hash('8dac13b00000000', PASSWORD_BCRYPT, array('cost' => $cost)); echo urlencode('71;'.$hash); echo strlen($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.2.60.0130.24316.98
7.2.00.0030.26019.30
7.1.200.0070.24615.72
7.1.100.0100.26118.04
7.1.70.0000.25217.13
7.1.60.0070.26419.43
7.1.50.0130.27516.71
7.1.00.0030.34722.40
7.0.200.0130.24414.70
7.0.60.0130.32319.77
7.0.50.0070.33317.86
7.0.40.0030.29020.12
7.0.30.0100.34020.30
7.0.20.0300.33020.06
7.0.10.0100.30320.08
7.0.00.0070.29320.30
5.6.280.0030.33720.98
5.6.210.0100.32320.43
5.6.200.0100.34318.19
5.6.190.0070.33020.60
5.6.180.0100.27720.48
5.6.170.0330.32320.44
5.6.160.0100.29720.48
5.6.150.0070.28318.11
5.6.140.0130.35018.14
5.6.130.0100.27318.27
5.6.120.0070.29020.98
5.6.110.0130.32721.10
5.6.100.0070.27721.00
5.6.90.0100.32320.87
5.6.80.0030.27720.36
5.5.350.0370.32720.46
5.5.340.0100.29317.96
5.5.330.0100.28720.41
5.5.320.0270.31720.26
5.5.310.0300.30020.19
5.5.300.0030.29317.98
5.5.290.0070.32017.95
5.5.280.0170.28320.79
5.5.270.0100.29720.86
5.5.260.0130.34320.65
5.5.250.0100.34020.57
5.5.240.0030.28020.11
5.4.450.0170.05319.44
5.4.440.0170.05319.13
5.4.430.0230.04719.13
5.4.420.0170.05019.25
5.4.410.0130.05319.00
5.4.400.0070.05719.15
5.4.390.0070.06319.09
5.4.380.0200.04719.11
5.4.370.0170.04719.13
5.4.360.0070.06019.15
5.4.350.0130.05318.83
5.4.340.0070.06018.95
5.4.320.0100.05718.94
5.4.310.0130.05018.93
5.4.300.0100.05719.26
5.4.290.0200.04719.10
5.4.280.0270.04018.91
5.4.270.0100.05719.13
5.4.260.0130.05319.18
5.4.250.0070.06719.08
5.4.240.0130.05719.13
5.4.230.0270.05019.13
5.4.220.0100.06018.76
5.4.210.0070.06019.26
5.4.200.0270.06019.22
5.4.190.0170.05019.26
5.4.180.0070.05718.91
5.4.170.0070.05719.10
5.4.160.0200.05319.08
5.4.150.0130.06019.19
5.4.140.0000.06316.33
5.4.130.0100.05316.18
5.4.120.0170.04716.50
5.4.110.0100.05716.47
5.4.100.0130.05016.29
5.4.90.0230.04016.45
5.4.80.0230.04316.48
5.4.70.0200.05316.48
5.4.60.0200.05316.36
5.4.50.0130.05016.47
5.4.40.0170.04716.47
5.4.30.0130.05016.04
5.4.20.0130.05016.46
5.4.10.0170.05016.51
5.4.00.0170.04715.93

preferences:
27.99 ms | 401 KiB | 5 Q