3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Set the password $password = 'mypassword'; // Get the hash, letting the salt be automatically generated $hash = crypt($password); echo("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)
8.3.60.0140.00716.75
8.3.50.0150.00521.21
8.3.40.0090.00618.67
8.3.30.0110.00418.72
8.3.20.0070.00020.25
8.3.10.0080.00021.77
8.3.00.0040.00421.65
8.2.180.0070.01416.50
8.2.170.0090.00622.96
8.2.160.0140.00020.55
8.2.150.0050.00324.18
8.2.140.0000.00824.66
8.2.130.0040.00421.18
8.2.120.0040.00426.35
8.2.110.0090.00019.26
8.2.100.0070.00417.93
8.2.90.0040.00419.18
8.2.80.0000.00817.97
8.2.70.0000.00817.50
8.2.60.0040.00417.68
8.2.50.0040.00418.09
8.2.40.0040.00422.15
8.2.30.0000.00719.32
8.2.20.0000.00817.66
8.2.10.0040.00417.96
8.2.00.0000.00717.95
8.1.280.0070.01725.92
8.1.270.0040.01522.05
8.1.260.0070.00028.09
8.1.250.0000.00728.09
8.1.240.0070.00322.34
8.1.230.0040.00717.83
8.1.220.0000.00817.74
8.1.210.0030.00618.77
8.1.200.0040.00417.23
8.1.190.0040.00417.13
8.1.180.0000.00918.10
8.1.170.0030.00518.47
8.1.160.0000.00720.69
8.1.150.0030.00518.82
8.1.140.0080.00019.38
8.1.130.0030.00317.54
8.1.120.0000.00717.29
8.1.110.0070.00017.44
8.1.100.0000.00717.39
8.1.90.0070.00017.40
8.1.80.0030.00617.32
8.1.70.0040.00417.32
8.1.60.0000.00717.54
8.1.50.0030.00617.56
8.1.40.0070.00317.40
8.1.30.0030.00617.59
8.1.20.0040.00417.48
8.1.10.0000.00717.57
8.1.00.0040.00417.33
8.0.300.0000.00818.77
8.0.290.0040.00416.75
8.0.280.0070.00018.35
8.0.270.0050.00317.06
8.0.260.0050.00317.05
8.0.250.0000.00716.81
8.0.240.0000.00817.01
8.0.230.0030.00316.93
8.0.220.0030.00316.76
8.0.210.0070.00016.87
8.0.200.0030.00316.96
8.0.190.0040.00416.91
8.0.180.0030.00316.93
8.0.170.0040.00416.80
8.0.160.0090.00016.89
8.0.150.0040.00416.93
8.0.140.0000.00716.86
8.0.130.0030.00313.39
8.0.120.0060.00316.83
8.0.110.0040.00416.96
8.0.100.0000.00716.88
8.0.90.0000.00716.76
8.0.80.0070.00716.91
8.0.70.0000.00716.82
8.0.60.0000.00716.75
8.0.50.0000.00716.95
8.0.30.0090.01217.06
8.0.20.0100.00817.40
8.0.10.0000.00716.80
8.0.00.0120.00716.70
7.4.330.0020.00216.67
7.4.320.0000.00816.47
7.4.300.0070.00016.37
7.4.290.0000.00716.51
7.4.280.0040.00416.41
7.4.270.0000.00716.46
7.4.260.0050.00316.41
7.4.250.0050.00216.43
7.4.240.0000.00916.35
7.4.230.0000.00716.28
7.4.220.0150.00316.56
7.4.210.0130.00316.59
7.4.200.0030.00316.40
7.4.160.0090.00916.43
7.4.150.0090.00917.40
7.4.140.0140.00817.86
7.4.130.0060.01216.57
7.4.120.0090.01016.43
7.4.110.0060.01816.59
7.4.100.0080.00816.39
7.4.90.0100.01016.40
7.4.80.0030.01419.39
7.4.70.0090.00916.39
7.4.60.0090.00916.47
7.4.50.0140.00316.27
7.4.40.0110.00616.42
7.4.30.0060.01116.51
7.4.00.0060.00914.96
7.3.330.0040.00312.92
7.3.320.0000.00612.93
7.3.310.0040.00416.24
7.3.300.0000.00716.23
7.3.290.0100.00716.19
7.3.280.0070.01016.20
7.3.270.0070.01117.40
7.3.260.0070.01016.20
7.3.250.0120.01016.28
7.3.240.0120.00716.36
7.3.230.0130.00416.39
7.3.210.0000.01716.16
7.3.200.0070.01019.39
7.3.190.0060.01016.29
7.3.180.0090.00616.43
7.3.170.0090.01216.28
7.3.160.0030.01316.31
7.2.330.0030.01316.72
7.2.320.0120.00816.59
7.2.310.0060.01216.34
7.2.300.0080.00916.60
7.2.290.0080.00816.60
7.2.00.0030.00919.09
7.1.100.0180.00018.08
7.1.70.0030.01317.21
7.1.60.0100.01019.40
7.1.50.0130.00316.91
7.1.00.0000.08022.32
7.0.200.0080.00316.87
7.0.60.0070.08021.90
7.0.50.0100.07717.84
7.0.40.0170.07720.26
7.0.30.0230.06020.05
7.0.20.0400.07319.99
7.0.10.0070.05020.08
7.0.00.0100.08720.30
5.6.280.0030.03321.11
5.6.210.0130.07320.44
5.6.200.0100.03718.19
5.6.190.0170.08020.67
5.6.180.0330.07720.77
5.6.170.0300.07020.71
5.6.160.0100.06320.45
5.6.150.0070.08318.09
5.6.140.0030.05318.10
5.6.130.0170.06718.21
5.6.120.0070.03721.11
5.6.110.0100.08321.13
5.6.100.0230.06720.97
5.6.90.0070.08720.94
5.6.80.0100.07720.40
5.5.350.3830.04320.42
5.5.340.0270.06317.92
5.5.330.0070.08320.38
5.5.320.0330.03720.18
5.5.310.0400.07320.29
5.5.300.0100.04018.02
5.5.290.0000.05317.90
5.5.280.0230.06720.93
5.5.270.0100.06320.79
5.5.260.0030.09020.79
5.5.250.0030.09020.65
5.5.240.0000.07320.18

preferences:
30.46 ms | 401 KiB | 5 Q