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.0110.01116.63
8.3.50.0130.00321.15
8.3.40.0110.00418.84
8.3.30.0000.01418.63
8.3.20.0040.00420.04
8.3.10.0000.00821.81
8.3.00.0080.00021.66
8.2.180.0110.00716.63
8.2.170.0210.00022.96
8.2.160.0090.00620.43
8.2.150.0000.00724.18
8.2.140.0080.00024.66
8.2.130.0090.00019.21
8.2.120.0040.00426.35
8.2.110.0060.00319.08
8.2.100.0080.00417.93
8.2.90.0090.00019.13
8.2.80.0090.00017.97
8.2.70.0060.00317.63
8.2.60.0070.00417.68
8.2.50.0000.00818.09
8.2.40.0050.00322.17
8.2.30.0070.00019.28
8.2.20.0040.00417.57
8.2.10.0040.00418.03
8.2.00.0090.00017.92
8.1.280.0150.00725.92
8.1.270.0160.00321.93
8.1.260.0070.00026.35
8.1.250.0070.00028.09
8.1.240.0070.00322.42
8.1.230.0110.00017.75
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0090.00017.23
8.1.190.0000.00817.23
8.1.180.0080.00018.10
8.1.170.0040.00418.45
8.1.160.0040.00420.63
8.1.150.0040.00418.81
8.1.140.0080.00019.41
8.1.130.0070.00017.63
8.1.120.0040.00417.34
8.1.110.0070.00017.32
8.1.100.0000.00717.41
8.1.90.0000.00717.40
8.1.80.0060.00317.41
8.1.70.0060.00317.36
8.1.60.0050.00217.47
8.1.50.0040.00417.39
8.1.40.0070.00417.47
8.1.30.0030.00517.59
8.1.20.0030.00517.67
8.1.10.0050.00217.46
8.1.00.0070.00017.48
8.0.300.0040.00418.77
8.0.290.0040.00416.63
8.0.280.0000.00818.36
8.0.270.0080.00017.04
8.0.260.0000.00617.18
8.0.250.0070.00016.82
8.0.240.0050.00316.81
8.0.230.0050.00316.82
8.0.220.0030.00316.94
8.0.210.0000.00716.88
8.0.200.0060.00016.95
8.0.190.0030.00516.82
8.0.180.0000.00716.93
8.0.170.0040.00416.81
8.0.160.0030.00316.90
8.0.150.0040.00416.78
8.0.140.0050.00316.72
8.0.130.0060.00013.25
8.0.120.0000.00716.82
8.0.110.0040.00416.95
8.0.100.0000.00716.87
8.0.90.0000.00716.85
8.0.80.0100.00616.91
8.0.70.0040.00416.66
8.0.60.0000.00716.83
8.0.50.0050.00316.75
8.0.30.0070.01016.92
8.0.20.0130.00817.40
8.0.10.0000.00716.88
8.0.00.0110.00716.67
7.4.330.0000.00616.73
7.4.320.0040.00416.57
7.4.300.0070.00016.34
7.4.290.0060.00316.47
7.4.280.0040.00416.42
7.4.270.0030.00316.57
7.4.260.0020.00516.36
7.4.250.0050.00316.28
7.4.240.0070.00016.45
7.4.230.0050.00216.26
7.4.220.0090.01516.45
7.4.210.0100.00716.38
7.4.200.0000.00716.30
7.4.160.0090.00916.41
7.4.150.0070.01017.40
7.4.140.0110.01217.86
7.4.130.0160.00716.53
7.4.120.0110.00616.35
7.4.110.0090.01016.46
7.4.100.0100.00716.45
7.4.90.0130.01016.30
7.4.80.0080.00819.39
7.4.70.0140.00416.31
7.4.60.0100.00716.70
7.4.50.0070.00716.39
7.4.40.0120.00616.54
7.4.30.0120.00916.34
7.4.00.0100.00314.89
7.3.330.0000.00713.05
7.3.320.0000.00613.04
7.3.310.0040.00416.31
7.3.300.0000.00716.21
7.3.290.0090.00816.28
7.3.280.0080.00916.29
7.3.270.0170.00317.40
7.3.260.0120.00616.36
7.3.240.0080.00816.47
7.3.230.0090.00916.41
7.3.210.0090.00816.29
7.3.200.0060.01119.39
7.3.190.0030.01316.18
7.3.180.0100.01316.39
7.3.170.0040.01316.39
7.3.160.0060.01116.13
7.3.120.0100.00914.75
7.3.110.0130.00714.74
7.3.100.0030.01414.66
7.3.90.0030.01314.49
7.3.80.0040.00814.79
7.3.70.0030.01414.66
7.3.60.0120.00314.54
7.3.50.0090.00614.91
7.3.40.0090.00014.77
7.3.30.0030.00914.90
7.3.20.0120.00616.68
7.3.10.0150.00016.65
7.3.00.0030.00916.45
7.2.330.0130.00416.29
7.2.320.0060.01216.37
7.2.310.0070.01016.46
7.2.300.0150.00016.55
7.2.290.0100.01016.65
7.2.250.0140.00015.15
7.2.240.0070.01414.73
7.2.230.0140.00414.94
7.2.220.0040.01215.16
7.2.210.0120.00315.07
7.2.200.0070.01114.95
7.2.190.0070.01014.75
7.2.180.0040.01114.90
7.2.170.0040.01215.10
7.2.160.0060.00914.75
7.2.150.0000.01016.91
7.2.140.0090.00616.70
7.2.130.0070.01116.90
7.2.120.0090.00617.01
7.2.110.0090.00616.95
7.2.100.0150.00316.85
7.2.90.0030.01416.70
7.2.80.0090.00616.72
7.2.70.0040.01416.93
7.2.60.0080.00716.90
7.2.50.0090.00616.86
7.2.40.0100.00317.09
7.2.30.0030.01016.90
7.2.20.0040.01116.90
7.2.10.0040.00716.57
7.2.00.0040.01018.00
7.1.330.0040.01415.61
7.1.320.0070.01015.56
7.1.310.0040.00815.89
7.1.300.0040.01115.67
7.1.290.0080.00815.70
7.1.280.0000.01615.63
7.1.270.0000.01415.55
7.1.260.0070.01015.81
7.1.250.0030.00615.62
7.1.200.0140.00415.84
7.1.100.0100.00718.01
7.1.70.0030.00617.16
7.1.60.0040.00819.40
7.1.50.0130.01616.90
7.1.00.0030.07722.40
7.0.200.0110.00316.91
7.0.60.0200.07721.78
7.0.50.0170.07717.83
7.0.40.0030.06320.08
7.0.30.0300.04020.09
7.0.20.0270.04720.00
7.0.10.0000.08320.02
7.0.00.0100.05020.09
5.6.280.0030.04020.98
5.6.210.0070.08020.54
5.6.200.0070.08018.09
5.6.190.0070.04020.48
5.6.180.0330.07320.43
5.6.170.0370.07020.51
5.6.160.0030.04320.38
5.6.150.0030.06318.18
5.6.140.0130.06018.10
5.6.130.0100.05318.09
5.6.120.0070.08320.94
5.6.110.0100.08021.00
5.6.100.0130.06721.01
5.6.90.0070.05020.98
5.6.80.0170.05020.50
5.5.350.0270.09320.37
5.5.340.0030.03717.92
5.5.330.0170.06020.12
5.5.320.0270.06320.13
5.5.310.0230.08020.27
5.5.300.0130.07717.97
5.5.290.0030.05018.00
5.5.280.0030.08720.84
5.5.270.0030.08720.87
5.5.260.0100.08020.86
5.5.250.0030.04020.79
5.5.240.0200.07320.32

preferences:
59.28 ms | 401 KiB | 5 Q