3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo password_hash('test_123', PASSWORD_BCRYPT, [ 'cost' => 9, 'salt' => ':seg08sjo_K7b530220593964c5.20698715', ]);

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.0070.03916.79
7.2.00.0070.04019.21
7.1.200.0030.03815.52
7.1.100.0030.04317.97
7.1.70.0030.03516.98
7.1.60.0130.07319.82
7.1.50.0240.07434.82
7.1.00.0100.08722.45
7.0.200.0000.04116.75
7.0.140.0070.11721.96
7.0.70.4930.07019.88
7.0.60.0000.12719.85
7.0.50.0030.13717.88
7.0.40.0070.10020.25
7.0.30.0000.07320.13
7.0.20.0330.11020.20
7.0.10.0400.11320.09
7.0.00.0100.10720.23
5.6.280.0000.12321.04
5.6.210.0100.09720.48
5.6.200.0130.11018.18
5.6.190.0070.08720.66
5.6.180.0200.10720.38
5.6.170.0300.09720.45
5.6.160.0130.07320.48
5.6.150.0070.11318.22
5.6.140.0030.06718.11
5.6.130.0100.13018.15
5.6.120.0100.12320.98
5.6.110.0030.09321.11
5.6.100.0200.08020.95
5.6.90.0070.11020.97
5.6.80.0070.14020.38
5.6.70.0100.06020.49
5.5.350.0100.09720.36
5.5.340.0030.08717.96
5.5.330.0070.06720.40
5.5.320.0100.07020.02
5.5.310.0270.10720.35
5.5.300.0000.10717.91
5.5.290.0070.08318.01
5.5.280.0100.10720.86
5.5.270.0030.08320.70
5.5.260.0030.13020.79
5.5.250.0070.12020.77
5.5.240.0030.09020.26
5.4.450.0270.06719.48
5.4.440.1030.06019.47
5.4.430.0400.05719.44
5.4.420.0900.07019.66
5.4.410.0870.05719.41
5.4.400.1030.05719.14
5.4.390.1230.05719.15
5.4.380.0170.05318.77
5.4.370.0270.04318.64
5.4.360.0300.03318.66
5.4.350.0090.03111.97
5.4.340.0070.03411.97
5.4.320.0130.03112.45
5.4.310.0080.04812.45
5.4.300.0090.04012.45
5.4.290.0040.04012.45
5.4.280.0040.04012.35
5.4.270.0070.04012.35
5.4.260.0080.03412.34
5.4.250.0070.05318.84
5.4.240.0030.07718.64
5.4.230.0070.05318.82
5.4.220.0130.06018.68
5.4.210.0070.05718.83
5.4.200.0000.05718.86
5.4.190.0170.05318.83
5.4.180.0030.06018.88
5.4.170.0100.07318.94
5.4.160.0100.06718.60
5.4.150.0170.05718.59
5.4.140.0070.07316.26
5.4.130.0130.05016.26
5.4.120.0070.05716.47
5.4.110.0030.05316.41
5.4.100.0100.05016.18
5.4.90.0070.05016.33
5.4.80.0170.06316.27
5.4.70.0000.05716.42
5.4.60.0130.04316.43
5.4.50.0130.07016.41
5.4.40.0070.05016.46
5.4.30.0030.05316.30
5.4.20.0070.05016.32
5.4.10.0070.05316.30
5.4.00.0030.05015.67
5.3.290.0020.04312.80
5.3.280.0130.05014.69
5.3.270.0000.08014.70
5.3.260.0070.05714.61
5.3.250.0000.06314.45
5.3.240.0370.04714.63
5.3.230.0130.06314.45
5.3.220.0200.06314.66
5.3.210.0130.05014.41
5.3.200.0100.06014.58
5.3.190.0100.04714.34
5.3.180.0170.06014.58
5.3.170.0100.04714.43
5.3.160.0100.06714.44
5.3.150.0170.05014.66
5.3.140.0200.06314.60
5.3.130.0130.07014.55
5.3.120.0100.04714.64
5.3.110.0030.05314.59
5.3.100.0070.05013.95
5.3.90.0070.05314.02
5.3.80.0030.05713.89
5.3.70.0030.05314.04
5.3.60.0030.07014.02
5.3.50.0100.04313.72
5.3.40.0100.05013.79
5.3.30.0000.05313.77
5.3.20.0070.06713.57
5.3.10.0070.06313.35
5.3.00.0000.05313.75
5.2.170.0030.04311.14
5.2.160.0070.03710.90
5.2.150.0100.03711.07
5.2.140.0030.04311.15
5.2.130.0100.03711.20
5.2.120.0130.04010.98
5.2.110.0000.05011.02
5.2.100.0000.04311.03
5.2.90.0070.04010.99
5.2.80.0030.04011.00
5.2.70.0070.04011.08
5.2.60.0030.04311.05
5.2.50.0030.04010.95
5.2.40.0000.04311.00
5.2.30.0000.04310.99
5.2.20.0030.04010.89
5.2.10.0070.03710.63
5.2.00.0070.03710.71
5.1.60.0070.04710.18
5.1.50.0070.0339.84
5.1.40.0000.0379.92
5.1.30.0000.04010.39
5.1.20.0070.03310.27
5.1.10.0070.03310.21
5.1.00.0100.03010.21
5.0.50.0070.0238.43
5.0.40.0030.0278.18
5.0.30.0100.0408.26
5.0.20.0000.0278.17
5.0.10.0100.0208.00
5.0.00.0030.0408.16
4.4.90.0030.0206.73
4.4.80.0000.0276.73
4.4.70.0000.0276.73
4.4.60.0030.0206.73
4.4.50.0100.0236.73
4.4.40.0030.0336.73
4.4.30.0030.0206.73
4.4.20.0000.0236.73
4.4.10.0000.0236.73
4.4.00.0000.0376.73
4.3.110.0070.0176.73
4.3.100.0130.0106.73
4.3.90.0000.0236.73
4.3.80.0030.0336.73
4.3.70.0030.0206.73
4.3.60.0100.0136.73
4.3.50.0000.0236.73
4.3.40.0100.0236.73
4.3.30.0030.0276.73
4.3.20.0000.0236.73
4.3.10.0030.0206.73
4.3.00.0000.0237.19

preferences:
31.56 ms | 400 KiB | 5 Q