3v4l.org

run code in 300+ PHP versions simultaneously
<?php $pass = 'secret'; $salt = '$2y$07$usesomesillystringforsalt$'; $hash = crypt($pass, $salt); var_dump( $hash, str_split($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.0070.02618.31
8.3.50.0130.02121.08
8.3.40.0120.01518.60
8.3.30.0130.02018.84
8.3.20.0000.01520.20
8.3.10.0070.00722.09
8.3.00.0090.00622.18
8.2.180.0170.01016.50
8.2.170.0100.01722.96
8.2.160.0070.02319.08
8.2.150.0060.00924.18
8.2.140.0070.01124.66
8.2.130.0060.00926.16
8.2.120.0030.01219.11
8.2.110.0030.01222.00
8.2.100.0080.01119.45
8.2.90.0080.00819.07
8.2.80.0040.01117.97
8.2.70.0030.01317.63
8.2.60.0030.01217.80
8.2.50.0100.00618.07
8.2.40.0040.01119.82
8.2.30.0060.00918.05
8.2.20.0000.01517.59
8.2.10.0040.01117.67
8.2.00.0040.01117.54
8.1.280.0130.02625.92
8.1.270.0000.01522.14
8.1.260.0030.01226.35
8.1.250.0040.01128.09
8.1.240.0030.01323.96
8.1.230.0140.00619.10
8.1.220.0040.01117.74
8.1.210.0090.00618.77
8.1.200.0090.00917.35
8.1.190.0030.01317.53
8.1.180.0000.01518.70
8.1.170.0080.00818.46
8.1.160.0030.01322.00
8.1.150.0000.01518.61
8.1.140.0040.01117.42
8.1.130.0040.01117.73
8.1.120.0040.01117.27
8.1.110.0030.01517.36
8.1.100.0000.01517.33
8.1.90.0000.01517.24
8.1.80.0030.01217.23
8.1.70.0090.00617.35
8.1.60.0080.01217.28
8.1.50.0040.01117.30
8.1.40.0060.00917.46
8.1.30.0030.01317.45
8.1.20.0030.01217.48
8.1.10.0030.01217.34
8.1.00.0030.01217.29
8.0.300.0000.01518.77
8.0.290.0060.00917.05
8.0.280.0000.01518.29
8.0.270.0030.01217.29
8.0.260.0080.00616.61
8.0.250.0000.01416.80
8.0.240.0060.00916.79
8.0.230.0040.01116.93
8.0.220.0030.01116.86
8.0.210.0060.00916.70
8.0.200.0030.01016.89
8.0.190.0000.01516.75
8.0.180.0000.01516.89
8.0.170.0040.01116.73
8.0.160.0000.01516.86
8.0.150.0040.01116.71
8.0.140.0070.00716.77
8.0.130.0000.01313.33
8.0.120.0030.01216.76
8.0.110.0060.00916.79
8.0.100.0040.01116.70
8.0.90.0040.01216.60
8.0.80.0100.01616.76
8.0.70.0000.01516.81
8.0.60.0040.01116.86
8.0.50.0080.00816.85
8.0.30.0130.01717.15
8.0.20.0160.02017.40
8.0.10.0040.01117.03
8.0.00.0140.01816.44
7.4.330.0060.00615.05
7.4.320.0040.01116.57
7.4.300.0060.00916.39
7.4.290.0000.01416.50
7.4.280.0000.01416.50
7.4.270.0000.01416.36
7.4.260.0000.01416.42
7.4.250.0000.01416.34
7.4.240.0030.01116.46
7.4.230.0000.01516.59
7.4.220.0100.02016.56
7.4.210.0100.01716.49
7.4.200.0040.01116.42
7.4.190.0030.01216.61
7.4.160.0080.02316.33
7.4.150.0140.01817.40
7.4.140.0130.02017.86
7.4.130.0130.01616.41
7.4.120.0150.01516.49
7.4.110.0130.01716.40
7.4.100.0170.01716.34
7.4.90.0100.02016.48
7.4.80.0090.01919.39
7.4.70.0130.01616.30
7.4.60.0140.01716.48
7.4.50.0040.01516.40
7.4.40.0030.01922.77
7.4.30.0170.01816.45
7.4.00.0030.01914.97
7.3.330.0040.00812.88
7.3.320.0000.01312.84
7.3.310.0030.01016.00
7.3.300.0080.00616.18
7.3.290.0060.02516.08
7.3.280.0090.02016.15
7.3.270.0110.01917.40
7.3.260.0160.01316.29
7.3.250.0190.01716.25
7.3.240.0150.02216.11
7.3.230.0110.02116.39
7.3.210.0200.01216.05
7.3.200.0170.01719.39
7.3.190.0190.01316.34
7.3.180.0120.01516.34
7.3.170.0080.01916.29
7.3.160.0130.01616.49
7.3.120.0030.01914.43
7.3.10.0110.01515.86
7.3.00.0150.01115.84
7.2.330.0100.02016.69
7.2.320.0150.01516.51
7.2.310.0030.03116.57
7.2.300.0140.01416.66
7.2.290.0100.01716.52
7.2.130.0250.01816.45
7.2.120.0070.02115.99
7.2.110.0140.01415.97
7.2.100.0180.01416.38
7.2.90.0090.01816.32
7.2.80.0210.00816.03
7.2.70.0100.01416.40
7.2.60.0120.01416.18
7.2.50.0150.01515.91
7.2.40.0110.03216.75
7.2.30.0140.02216.09
7.2.20.0130.01316.33
7.2.10.0090.01816.02
7.2.00.0110.01218.06
7.1.250.0170.01715.55
7.1.200.0080.00815.56
7.1.100.0000.02417.87
7.1.70.0000.01517.05
7.1.60.0030.01717.15
7.1.50.0060.03216.82
7.1.00.0000.05722.50
7.0.200.0060.01616.79
7.0.140.0000.09022.00
7.0.70.4330.05019.93
7.0.60.0100.09319.95
7.0.50.0070.09317.81
7.0.40.0070.08320.02
7.0.30.0170.09020.30
7.0.20.0300.09020.13
7.0.10.0270.07320.17
7.0.00.0070.06320.19
5.6.280.0000.05720.86
5.6.210.0100.09320.68
5.6.200.0030.05018.23
5.6.190.0030.06320.66
5.6.180.0200.06020.65
5.6.170.0470.07320.39
5.6.160.0070.07720.71
5.6.150.0100.07718.13
5.6.140.0070.07718.22
5.6.130.0170.08718.09
5.6.120.0030.05720.97
5.6.110.0130.05321.08
5.6.100.0030.05021.02
5.6.90.0130.09021.11
5.6.80.0100.05020.47
5.6.70.0300.08020.52
5.5.350.0100.06320.40
5.5.340.0070.04318.02
5.5.330.0130.09020.43
5.5.320.0070.10020.15
5.5.310.0270.04320.41
5.5.300.0070.09717.95
5.5.290.0030.09317.89
5.5.280.0100.09020.96
5.5.270.0030.09720.76
5.5.260.0030.09720.78
5.5.250.0100.08720.65
5.5.240.0070.06320.26
5.4.450.0200.06019.63
5.4.440.1030.09319.58
5.4.430.0800.07319.45
5.4.420.0730.08319.60
5.4.410.0000.09019.32
5.4.400.1070.05318.78
5.4.390.0830.06319.25
5.4.380.0170.07018.67
5.4.370.0330.07018.61
5.4.360.0230.04318.53
5.4.350.0250.11811.97
5.4.340.0180.05811.97
5.4.320.0070.04912.45
5.4.310.0090.04412.45
5.4.300.0100.05112.46
5.4.290.0130.04412.46
5.4.280.0110.04612.35
5.4.270.0090.04912.35
5.4.260.0130.06318.84
5.4.250.0100.08318.93
5.4.240.0170.08018.89
5.4.230.0130.06719.02
5.4.220.0230.06318.76
5.4.210.0030.07718.88
5.4.200.0100.07318.64
5.4.190.0130.08018.89
5.4.180.0130.08318.73
5.4.170.0100.06318.94
5.4.160.0130.08018.87
5.4.150.0100.09719.01
5.4.140.0270.08316.49
5.4.130.0100.05716.21
5.4.120.0030.07716.44
5.4.110.0100.07316.52
5.4.100.0070.07016.43
5.4.90.0100.08316.49
5.4.80.0130.08016.21
5.4.70.0170.07016.50
5.4.60.0070.07716.34
5.4.50.0130.08016.46
5.4.40.0230.07716.40
5.4.30.0170.05716.45
5.4.20.0100.06316.45
5.4.10.0070.09716.32
5.4.00.0100.07315.85
5.3.290.0100.05212.80
5.3.280.0030.08714.68
5.3.270.0030.07014.61
5.3.260.0130.06714.63
5.3.250.0100.08714.46
5.3.240.0070.09014.49
5.3.230.0100.06714.60
5.3.220.0170.06014.41
5.3.210.0030.07314.58
5.3.200.0070.06314.59
5.3.190.0170.07014.57
5.3.180.0130.06014.45
5.3.170.0230.05314.61
5.3.160.0130.08014.66
5.3.150.0200.08314.72
5.3.140.0070.07714.57
5.3.130.0130.09014.66
5.3.120.0100.08014.44
5.3.110.0130.09314.56
5.3.100.0300.04713.73
5.3.90.0170.07313.99
5.3.80.0170.05314.11
5.3.70.0130.05714.02
5.3.60.0100.05014.11
5.3.50.0100.05014.00
5.3.40.0130.05713.89
5.3.30.0100.04713.67
5.3.20.0030.05713.61
5.3.10.0130.04313.70
5.3.00.0300.05013.76
5.2.170.0130.05010.96
5.2.160.0070.04711.10
5.2.150.0170.04311.14
5.2.140.0070.06311.10
5.2.130.0070.04711.04
5.2.120.0070.04311.03
5.2.110.0130.03311.13
5.2.100.0130.03711.05
5.2.90.0070.06010.93
5.2.80.0100.04710.77
5.2.70.0030.05010.77
5.2.60.0100.04010.89
5.2.50.0000.06311.05
5.2.40.0070.04310.80
5.2.30.0070.04310.92
5.2.20.0070.04310.96
5.2.10.0030.05010.61
5.2.00.0070.06010.61
5.1.60.0030.03710.02
5.1.50.0200.03310.15
5.1.40.0030.03710.04
5.1.30.0100.03310.08
5.1.20.0100.03010.09
5.1.10.0070.03310.15
5.1.00.0070.04710.02
5.0.50.0100.0308.44
5.0.40.0000.0338.27
5.0.30.0030.0438.31
5.0.20.0030.0338.00
5.0.10.0070.0338.24
5.0.00.0070.0408.23
4.4.90.0000.0377.37
4.4.80.0030.0237.37
4.4.70.0070.0237.37
4.4.60.0000.0307.37
4.4.50.0070.0207.37
4.4.40.0030.0407.37
4.4.30.0000.0237.37
4.4.20.0000.0237.37
4.4.10.0030.0207.37
4.4.00.0000.0377.37
4.3.110.0030.0237.37
4.3.100.0000.0277.37
4.3.90.0070.0237.37
4.3.80.0030.0407.37
4.3.70.0030.0337.37
4.3.60.0070.0237.37
4.3.50.0000.0377.37
4.3.40.0030.0407.37
4.3.30.0000.0307.37
4.3.20.0030.0237.37
4.3.10.0030.0277.37
4.3.00.0070.0277.11

preferences:
43.36 ms | 401 KiB | 5 Q