3v4l.org

run code in 300+ PHP versions simultaneously
<?php $options = [ 'cost' => 12, 'salt' => 'saja7kZJOwIYKzXGIzRJ/O' ]; echo password_hash("Prime", PASSWORD_BCRYPT, $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.3.10.0000.26316.25
7.3.00.0070.25416.29
7.2.130.0070.24916.89
7.2.120.0130.24616.73
7.2.110.0100.25116.73
7.2.100.0030.25216.95
7.2.90.0070.25716.93
7.2.80.0130.25216.87
7.2.70.0100.25316.95
7.2.60.0070.24916.73
7.2.50.0100.25316.72
7.2.40.0130.25416.92
7.2.30.0120.25416.88
7.2.20.0070.25216.81
7.2.10.0230.24616.80
7.2.00.0070.25217.93
7.1.250.0100.24815.62
7.1.200.0070.25115.77
7.1.100.0100.24917.92
7.1.70.0470.25916.99
7.1.60.0100.32120.03
7.1.50.0100.32516.83
7.1.00.0100.34322.51
7.0.200.0240.24914.97
7.0.60.0030.31719.80
7.0.50.0070.28317.95
7.0.40.0030.28020.05
7.0.30.0170.29320.17
7.0.20.0270.30020.05
7.0.10.0300.30720.06
7.0.00.0130.28320.16
5.6.280.0030.30320.98
5.6.210.0070.34320.49
5.6.200.0000.29018.08
5.6.190.0100.33320.39
5.6.180.0300.33320.46
5.6.170.0300.28020.53
5.6.160.0000.28720.39
5.6.150.0000.29718.15
5.6.140.0100.34018.12
5.6.130.0130.30018.14
5.6.120.0170.33720.98
5.6.110.0070.34320.98
5.6.100.0030.31321.00
5.6.90.0100.34021.08
5.6.80.0170.33720.42
5.6.70.0170.23720.39
5.5.350.0230.33020.36
5.5.340.0070.33017.95
5.5.330.0070.32020.37
5.5.320.0400.33020.32
5.5.310.0300.32720.20
5.5.300.0100.34318.08
5.5.290.0030.29317.87
5.5.280.0170.28320.88
5.5.270.0100.28320.74
5.5.260.0100.34320.79
5.5.250.0030.35020.48
5.5.240.0070.27020.06
5.4.450.0670.06019.56
5.4.440.0830.05719.38
5.4.430.0770.06019.50
5.4.420.1100.06719.35
5.4.410.1100.06718.97
5.4.400.1000.06019.19
5.4.390.0800.05719.18
5.4.380.0700.05719.26
5.4.370.0770.05318.96
5.4.360.0870.04719.04
5.4.350.0800.05019.29
5.4.340.0900.04318.99
5.4.320.0800.04718.86
5.4.310.0700.05719.23
5.4.300.0630.06019.16
5.4.290.0870.07018.75
5.4.280.0930.06018.75
5.4.270.0800.05019.23
5.4.260.0730.05019.23
5.4.250.0670.05719.02
5.4.240.0800.04719.23
5.4.230.0830.05319.22
5.4.220.0970.05018.75
5.4.210.0800.05019.28
5.4.200.0870.05016.61
5.4.190.1030.04318.91
5.4.180.0900.04318.91
5.4.170.0970.05719.13
5.4.160.0770.05018.90
5.4.150.0770.06019.04
5.4.140.0770.05016.30
5.4.130.0670.06016.28
5.4.120.0900.04716.32
5.4.110.0770.04716.48
5.4.100.0700.05016.59
5.4.90.0700.05316.32
5.4.80.0700.05016.20
5.4.70.0700.05016.40
5.4.60.0330.06716.39
5.4.50.0030.06716.36
5.4.40.0130.03316.04
5.4.30.0170.04016.35
5.4.20.0030.08016.36

preferences:
35.54 ms | 401 KiB | 5 Q