3v4l.org

run code in 300+ PHP versions simultaneously
<?php $password = 'test'; // hash generated with PHP 5.3.7+ $hash = '$2y$14$MTIzNDU2Nzg5MDEyMzQ1NexAbOIUHkG6Ra.TK9QxHOVUhDxOe4dkW'; $result = crypt($password, $hash); printf("Hash %s (length %d)\n", $result, strlen($result));

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.0171.49816.59
8.3.50.0071.50421.99
8.3.40.0131.49018.71
8.3.30.0101.50518.90
8.3.20.0100.79420.21
8.3.10.0000.80723.48
8.3.00.0030.80219.13
8.2.180.0131.50816.38
8.2.170.0131.51222.96
8.2.160.0101.48820.52
8.2.150.0030.80124.18
8.2.140.0070.80024.66
8.2.130.0070.81426.16
8.2.120.0070.79922.26
8.2.110.0070.80720.39
8.2.100.0070.90919.51
8.2.90.0100.95717.63
8.2.80.0070.90418.79
8.2.70.0030.93117.50
8.2.60.0030.90417.50
8.2.50.0070.90217.55
8.2.40.0100.89719.35
8.2.30.0030.90717.60
8.2.20.0030.90517.67
8.2.10.0070.92318.08
8.2.00.0070.95817.66
8.1.280.0171.47925.92
8.1.270.0070.83224.01
8.1.260.0100.79626.35
8.1.250.0030.80128.09
8.1.240.0100.80522.06
8.1.230.0070.90217.82
8.1.220.0030.90417.74
8.1.210.0030.90518.77
8.1.200.0000.90617.23
8.1.190.0030.90617.22
8.1.180.0030.90118.10
8.1.170.0100.90219.02
8.1.160.0070.90518.77
8.1.150.0030.90918.57
8.1.140.0030.90217.38
8.1.130.0030.90517.80
8.1.120.0070.93017.44
8.1.110.0030.90217.39
8.1.100.0000.90617.27
8.1.90.0000.90717.28
8.1.80.0070.90017.40
8.1.70.0070.90217.31
8.1.60.0000.90817.54
8.1.50.0030.90317.35
8.1.40.0030.90817.48
8.1.30.0070.90117.48
8.1.20.0000.90617.50
8.1.10.0030.90217.48
8.1.00.0030.90317.40
8.0.300.0070.89918.77
8.0.290.0000.90516.75
8.0.280.0030.90217.87
8.0.270.0030.90317.93
8.0.260.0030.90516.61
8.0.250.0030.90116.85
8.0.240.0000.92816.87
8.0.230.0030.90316.89
8.0.220.0000.90816.75
8.0.210.0070.90216.83
8.0.200.0030.90516.93
8.0.190.0030.90316.88
8.0.180.0070.90016.75
8.0.170.0030.90616.85
8.0.160.0030.90516.78
8.0.150.0070.89816.78
8.0.140.0070.90116.83
8.0.130.0030.90513.20
8.0.120.0070.90816.76
8.0.110.0000.90716.80
8.0.100.0070.90116.86
8.0.90.0070.90316.80
8.0.80.0101.34416.82
8.0.70.0030.90816.75
8.0.60.0030.90916.88
8.0.50.0030.90216.87
8.0.30.0161.29517.15
8.0.20.0101.31217.40
8.0.10.0030.91316.78
8.0.00.0101.27816.72
7.4.330.0000.90315.00
7.4.320.0070.90016.57
7.4.300.0030.90516.43
7.4.290.0030.90516.54
7.4.280.0100.90016.52
7.4.270.0030.90316.39
7.4.260.0070.89916.49
7.4.250.0070.90216.46
7.4.240.0020.90616.57
7.4.230.0000.90316.39
7.4.220.0061.51116.55
7.4.210.0151.36916.43
7.4.200.0000.90816.63
7.4.190.0000.90716.39
7.4.160.0101.36516.51
7.4.150.0131.30117.40
7.4.140.0141.32717.86
7.4.130.0211.29416.43
7.4.120.0131.29316.43
7.4.110.0101.28816.46
7.4.100.0101.30716.60
7.4.90.0351.30316.50
7.4.80.0061.31319.39
7.4.70.0061.28316.66
7.4.60.0191.29616.48
7.4.50.0000.68416.19
7.4.40.0070.94722.77
7.4.30.0101.27516.52
7.4.00.0100.94914.74
7.3.330.0070.89912.95
7.3.320.0030.90112.92
7.3.310.0100.90716.27
7.3.300.0000.90616.29
7.3.290.0031.36216.23
7.3.280.0141.41116.22
7.3.270.0231.31617.40
7.3.260.0131.28816.33
7.3.250.0131.31316.41
7.3.240.0071.28916.23
7.3.230.0161.28516.39
7.3.210.0071.29816.28
7.3.200.0131.32419.39
7.3.190.0091.34016.51
7.3.180.0071.27816.35
7.3.170.0031.28516.36
7.3.160.0031.28216.23
7.3.120.0030.95114.91
7.3.10.0030.96416.19
7.3.00.0130.95616.41
7.2.330.0101.29016.27
7.2.320.0071.29316.61
7.2.310.0031.29116.32
7.2.300.0161.30016.31
7.2.290.0071.30216.58
7.2.130.0030.96416.74
7.2.120.0100.95216.55
7.2.110.0030.94516.77
7.2.100.0100.94216.86
7.2.90.0101.00316.64
7.2.80.0030.96016.63
7.2.70.0070.95116.68
7.2.60.0130.97516.75
7.2.50.0070.95416.91
7.2.40.0100.94216.87
7.2.30.0130.96916.65
7.2.20.0070.95516.75
7.2.10.0070.94316.96
7.2.00.0080.97417.97
7.1.250.0030.96215.62
7.1.200.0170.98715.34
7.1.100.0031.02017.95
7.1.70.0030.97617.04
7.1.60.0101.04519.33
7.1.50.0101.03016.99
7.1.00.0070.99322.31
7.0.200.0030.96616.57
7.0.140.0000.97322.12
7.0.100.0101.02020.04
7.0.90.0101.09719.93
7.0.80.0071.00319.91
7.0.70.0170.89319.92
7.0.60.0030.87719.78
7.0.50.0101.06320.34
7.0.40.0071.01020.14
7.0.30.0101.01320.13
7.0.20.0000.87720.07
7.0.10.0071.07720.10
7.0.00.0201.06720.17
5.6.280.0030.99320.81
5.6.250.0071.07020.55
5.6.240.0100.86320.62
5.6.230.0070.85020.54
5.6.220.0071.01720.67
5.6.210.0071.03020.69
5.6.200.0131.02721.07
5.6.190.0131.00021.16
5.6.180.0131.00021.02
5.6.170.0071.03721.10
5.6.160.0031.05720.91
5.6.150.0101.06320.93
5.6.140.0101.05021.02
5.6.130.0131.03721.04
5.6.120.0130.98021.02
5.6.110.0201.01320.93
5.6.100.0101.05721.09
5.6.90.0001.01721.06
5.6.80.0071.03020.45
5.6.70.0070.87320.30
5.6.60.0071.09020.42
5.6.50.0130.99720.46
5.6.40.0071.08320.46
5.6.30.0070.87320.31
5.6.20.0000.90020.38
5.6.10.0130.94020.37
5.6.00.0101.01720.51
5.5.380.0100.86320.45
5.5.370.0100.86320.41
5.5.360.0031.02020.53
5.5.350.0070.87320.45
5.5.340.0031.03320.77
5.5.330.0101.05320.93
5.5.320.0070.95020.88
5.5.310.0031.04320.80
5.5.300.0131.07320.77
5.5.290.0171.03320.87
5.5.280.0131.02720.77
5.5.270.0071.03320.85
5.5.260.0031.06320.81
5.5.250.0131.03320.54
5.5.240.0000.88720.24
5.5.230.0101.03320.26
5.5.220.0070.87020.17
5.5.210.0031.02020.24
5.5.200.0071.02720.25
5.5.190.0030.90720.27
5.5.180.0030.89720.27
5.5.160.0070.94020.17
5.5.150.0101.02720.26
5.5.140.0101.07320.25
5.5.130.0001.01720.21
5.5.120.0071.07720.17
5.5.110.0101.04320.11
5.5.100.0101.03719.95
5.5.90.0071.02020.10
5.5.80.0101.03019.97
5.5.70.0170.89019.96
5.5.60.0100.99320.15
5.5.50.0000.96020.00
5.5.40.0101.05720.08
5.5.30.0071.01320.05
5.5.20.0070.86319.91
5.5.10.0001.05320.07
5.5.00.0031.03020.10
5.4.450.0131.01719.43
5.4.440.0101.05019.29
5.4.430.0101.05019.35
5.4.420.0101.01319.35
5.4.410.0101.00319.09
5.4.400.0201.03319.12
5.4.390.0101.00018.88
5.4.380.0131.04018.97
5.4.370.0001.05019.07
5.4.360.0131.03319.14
5.4.350.0101.01018.79
5.4.340.0030.99019.06
5.4.320.0130.94718.95
5.4.310.0171.04018.99
5.4.300.0000.86018.81
5.4.290.0071.02718.96
5.4.280.0071.03319.02
5.4.270.0200.99318.78
5.4.260.0001.07319.13
5.4.250.0101.05718.96
5.4.240.0070.88318.88
5.4.230.0101.06718.97
5.4.220.0101.07019.06
5.4.210.0031.05718.97
5.4.200.0000.87719.21
5.4.190.0101.01719.05
5.4.180.0070.87018.96
5.4.170.0030.86319.14
5.4.160.0000.88019.13
5.4.150.0100.89018.95
5.4.140.0070.87016.28
5.4.130.0031.08016.37
5.4.120.0071.06716.29
5.4.110.0030.87316.26
5.4.100.0071.01716.22
5.4.90.1270.85316.33
5.4.80.0100.88016.31
5.4.70.0070.97316.31
5.4.60.0101.00716.19
5.4.50.0031.08716.36
5.4.40.0031.03016.42
5.4.30.0130.86316.40
5.4.20.0101.03716.46
5.4.10.0030.87316.31
5.4.00.0071.00315.77
5.3.290.0001.07714.64
5.3.280.0071.04314.55
5.3.270.0131.02714.48
5.3.260.0101.01714.45
5.3.250.0071.00714.42
5.3.240.0070.87014.46
5.3.230.0071.01714.59
5.3.220.0100.93714.55
5.3.210.0200.90714.56
5.3.200.0071.01314.55
5.3.190.0030.97714.43
5.3.180.0100.86714.42
5.3.170.0100.82014.50
5.3.160.0070.98314.50
5.3.150.0030.99314.52
5.3.140.0101.02014.53
5.3.130.0071.05314.50
5.3.120.0001.01314.51
5.3.110.0031.01014.51
5.3.100.0071.00714.14
5.3.90.0070.85714.14
5.3.80.0071.01014.14
5.3.70.0171.03714.14
5.3.60.0100.07314.14
5.3.50.0100.07014.14
5.3.40.0100.05714.14
5.3.30.0100.06714.14
5.3.20.0030.07314.14
5.3.10.0100.07014.14
5.3.00.0130.05714.14
5.2.170.0070.06014.14
5.2.160.0100.05014.14
5.2.150.0070.06014.14
5.2.140.0130.04714.14
5.2.130.0070.05314.14
5.2.120.0030.06014.14
5.2.110.0030.03714.14
5.2.100.0130.05014.14
5.2.90.0030.05314.14
5.2.80.0070.05314.14
5.2.70.0070.06014.14
5.2.60.0070.05714.14
5.2.50.0100.05314.14
5.2.40.0030.05714.14
5.2.30.0070.05314.14
5.2.20.0000.06014.14
5.2.10.0030.06014.14
5.2.00.0030.05714.14
5.1.60.0070.05714.14
5.1.50.0070.05014.14
5.1.40.0070.04014.14
5.1.30.0100.05014.14
5.1.20.0070.05714.14
5.1.10.0070.04714.14
5.1.00.0100.02714.14
5.0.50.0100.04014.14
5.0.40.0070.04314.14
5.0.30.0030.06314.14
5.0.20.0030.04314.14
5.0.10.0030.04314.14
5.0.00.0100.06014.14
4.4.90.0000.03714.14
4.4.80.0030.01714.14
4.4.70.0030.03314.14
4.4.60.0070.01314.14
4.4.50.0030.03314.14
4.4.40.0030.05314.14
4.4.30.0070.01714.14
4.4.20.0030.03314.14
4.4.10.0000.03714.14
4.4.00.0030.05014.14
4.3.110.0030.03314.14
4.3.100.0000.03714.14
4.3.90.0100.02714.14
4.3.80.0030.05014.14
4.3.70.0070.03314.14
4.3.60.0000.02314.14
4.3.50.0000.03714.14
4.3.40.0030.05314.14
4.3.30.0000.03714.14
4.3.20.0000.03714.14
4.3.10.0000.03014.14
4.3.00.0030.02014.14

preferences:
44.63 ms | 401 KiB | 5 Q