3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(password_hash('password', PASSWORD_DEFAULT, ['cost' => 13]));

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.80.0100.48316.33
7.2.60.0070.48016.47
7.2.00.0070.50018.98
7.1.200.0030.49615.62
7.1.100.0070.50717.89
7.1.70.0000.48616.79
7.1.60.0170.56119.12
7.1.50.0070.56916.93
7.1.00.0000.57022.40
7.0.200.0600.48014.93
7.0.60.0030.58020.05
7.0.50.0030.60017.79
7.0.40.0070.55020.40
7.0.30.0300.54320.09
7.0.20.0400.57320.07
7.0.10.0000.52020.35
7.0.00.0030.54720.08
5.6.280.0070.48321.01
5.6.210.0070.58020.62
5.6.200.0030.58018.17
5.6.190.0070.53720.41
5.6.180.0430.56720.21
5.6.170.0170.55320.41
5.6.160.0030.60320.39
5.6.150.0070.58018.12
5.6.140.0130.55018.15
5.6.130.0100.53318.17
5.6.120.0070.58320.99
5.6.110.0070.57020.97
5.6.100.0130.53021.07
5.6.90.0100.57721.12
5.6.80.0100.52720.52
5.5.350.4200.50320.42
5.5.340.0070.53018.05
5.5.330.0170.58720.25
5.5.320.0230.54320.28
5.5.310.0300.56320.35
5.5.300.0070.57717.99
5.5.290.0070.52017.98
5.5.280.0100.53320.80
5.5.270.0230.56720.64
5.5.260.0030.56320.76
5.5.250.0130.58020.70
5.5.240.0000.53020.34
5.4.450.0800.04719.11
5.4.440.0830.05719.49
5.4.430.1100.06719.56
5.4.420.0130.05319.40
5.4.410.0030.06019.14
5.4.400.0030.05719.05
5.4.390.0500.06319.21
5.4.380.0930.06319.07
5.4.370.0870.04319.18
5.4.360.0800.05019.09
5.4.350.0800.04719.16
5.4.340.0930.03719.26
5.4.320.0830.05719.27
5.4.310.0870.05719.23
5.4.300.0900.04719.26
5.4.290.0830.04019.27
5.4.280.0830.05319.10
5.4.270.0800.04719.08
5.4.260.0730.06319.18
5.4.250.1070.07019.21
5.4.240.1000.05319.08
5.4.230.0870.06019.26
5.4.220.0800.05019.17
5.4.210.0800.05719.14
5.4.200.1030.04716.65
5.4.190.0900.05018.82
5.4.180.0870.06019.04
5.4.170.1030.06018.95
5.4.160.0930.05719.13
5.4.150.1130.06318.91
5.4.140.0670.05716.26
5.4.130.0530.06016.18
5.4.120.0030.05316.39
5.4.110.0100.05016.17
5.4.100.0500.04716.36
5.4.90.0730.06316.36
5.4.80.1100.05016.48
5.4.70.0630.07016.19
5.4.60.0130.06316.25
5.4.50.0500.04316.14
5.4.40.0730.05716.41
5.4.30.0730.06016.39
5.4.20.0830.04316.14
5.4.10.0730.04016.23
5.4.00.0730.05015.89
5.3.290.0730.05314.76
5.3.280.1030.06314.42
5.3.270.0830.07014.44
5.3.260.1030.04714.54
5.3.250.0930.05014.45
5.3.240.0730.05314.45
5.3.230.0870.04014.46
5.3.220.0900.06314.55
5.3.210.0730.05714.40
5.3.200.0600.05014.55
5.3.190.0770.05314.41
5.3.180.0900.04014.41
5.3.170.0730.04314.44
5.3.160.0670.05014.50
5.3.150.0800.05014.41
5.3.140.0670.05714.41
5.3.130.0870.06314.56
5.3.120.0800.05314.56
5.3.110.1000.04714.53
5.3.100.0800.04713.99
5.3.90.0500.05314.02
5.3.80.0100.05013.80
5.3.70.0830.04714.00
5.3.60.0730.05713.78
5.3.50.0730.05713.79
5.3.40.0470.05313.89
5.3.30.0000.05313.85
5.3.20.0070.04713.53
5.3.10.0730.04713.50
5.3.00.0770.05313.43
5.2.170.0670.03710.94
5.2.160.0570.05010.93
5.2.150.0670.03311.30
5.2.140.0670.04311.19
5.2.130.0630.04711.12
5.2.120.0670.04010.94
5.2.110.0570.05311.08
5.2.100.0130.04311.04
5.2.90.0370.04011.16
5.2.80.0670.04011.16
5.2.70.0730.04310.93
5.2.60.0730.04011.04
5.2.50.0930.04010.87
5.2.40.0630.03710.82
5.2.30.0500.04710.98
5.2.20.0530.04310.80
5.2.10.0700.03010.93
5.2.00.0530.04010.77
5.1.60.0530.03710.15
5.1.50.0500.04010.05
5.1.40.0630.0379.82
5.1.30.0530.03310.42
5.1.20.0430.04310.43
5.1.10.0400.04310.05
5.1.00.0630.03010.07
5.0.50.0300.0438.52
5.0.40.0270.0308.52
5.0.30.0300.0408.52
5.0.20.0300.0278.52
5.0.10.0300.0308.52
5.0.00.0400.0478.52
4.4.90.0370.0238.52
4.4.80.0370.0208.52
4.4.70.0270.0208.52
4.4.60.0330.0338.52
4.4.50.0230.0238.52
4.4.40.0300.0508.52
4.4.30.0300.0278.52
4.4.20.0230.0238.52
4.4.10.0030.0238.52
4.4.00.0000.0378.52
4.3.110.0030.0238.52
4.3.100.0030.0238.52
4.3.90.0000.0278.52
4.3.80.0000.0378.52
4.3.70.0070.0178.52
4.3.60.0000.0238.52
4.3.50.0330.0208.52
4.3.40.0270.0408.52
4.3.30.0230.0208.52
4.3.20.0230.0238.52
4.3.10.0130.0238.52
4.3.00.0130.0207.29

preferences:
32.78 ms | 400 KiB | 5 Q