3v4l.org

run code in 300+ PHP versions simultaneously
<?php for ($i = 64; $i < 80; ++$i) { echo "{$i}.\t".crypt(str_repeat('a', $i), '$2y$04$usesomesillystringforsalt$')."\n"; } $x = crypt("abc\0defg", '$2y$04$usesomesillystringforsalt$'); var_dump($x === crypt("abc", '$2y$04$usesomesillystringforsalt$'));

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.140.0130.04616.24
8.3.130.0060.01818.21
8.3.120.0070.01820.61
8.3.110.0130.03520.94
8.3.100.0100.03124.06
8.3.90.0070.04426.77
8.3.80.0120.01617.97
8.3.70.0100.03518.54
8.3.60.0160.03018.30
8.3.50.0100.05921.15
8.3.40.0160.03218.54
8.3.30.0100.03518.82
8.3.20.0030.02220.30
8.3.10.0040.02123.71
8.3.00.0160.03918.94
8.2.250.0070.02916.50
8.2.240.0070.02018.63
8.2.230.0070.02022.58
8.2.220.0040.02137.54
8.2.210.0070.02926.77
8.2.200.0160.03926.06
8.2.190.0190.03416.63
8.2.180.0100.04325.92
8.2.170.0160.03919.13
8.2.160.0100.04422.96
8.2.150.0030.02025.66
8.2.140.0030.02124.66
8.2.130.0060.01826.16
8.2.120.0060.02217.75
8.2.110.0060.02122.19
8.2.100.0130.01717.72
8.2.90.0030.02319.05
8.2.80.0000.02617.97
8.2.70.0030.02317.50
8.2.60.0030.02417.55
8.2.50.0060.02118.10
8.2.40.0030.02317.63
8.2.30.0030.02317.94
8.2.20.0000.02617.57
8.2.10.0030.02318.02
8.2.00.0030.02318.11
8.1.300.0000.02419.69
8.1.290.0030.02530.84
8.1.280.0070.04325.92
8.1.270.0040.02123.99
8.1.260.0030.02026.35
8.1.250.0100.01428.09
8.1.240.0070.02020.87
8.1.230.0100.02017.70
8.1.220.0030.02417.74
8.1.210.0110.01818.77
8.1.200.0060.02217.35
8.1.190.0030.02317.13
8.1.180.0040.02218.10
8.1.170.0000.02618.53
8.1.160.0000.02618.87
8.1.150.0040.02218.58
8.1.140.0030.02317.33
8.1.130.0030.02217.36
8.1.120.0060.01917.46
8.1.110.0090.01817.37
8.1.100.0040.02417.48
8.1.90.0060.01917.43
8.1.80.0000.02617.46
8.1.70.0060.01917.44
8.1.60.0000.02717.55
8.1.50.0130.02017.50
8.1.40.0090.02117.42
8.1.30.0030.02317.70
8.1.20.0030.02617.65
8.1.10.0000.02617.54
8.1.00.0000.02717.46
8.0.300.0030.02418.77
8.0.290.0000.02716.75
8.0.280.0000.02618.45
8.0.270.0000.02616.85
8.0.260.0000.02516.82
8.0.250.0000.02516.83
8.0.240.0030.02316.91
8.0.230.0030.02316.90
8.0.220.0000.02516.75
8.0.210.0040.02216.86
8.0.200.0030.02216.80
8.0.190.0030.02316.91
8.0.180.0030.02316.79
8.0.170.0070.02016.88
8.0.160.0070.02016.93
8.0.150.0000.02716.88
8.0.140.0000.02616.84
8.0.130.0040.02113.32
8.0.120.0030.02316.82
8.0.110.0030.02416.82
8.0.100.0000.02616.69
8.0.90.0030.02316.77
8.0.80.0070.03616.84
8.0.70.0000.02616.96
8.0.60.0000.02616.91
8.0.50.0030.02316.66
8.0.30.0140.03517.04
8.0.20.0130.03417.40
8.0.10.0030.02216.75
8.0.00.0120.03417.03
7.4.330.0030.02015.09
7.4.320.0030.02116.58
7.4.300.0000.02416.39
7.4.290.0030.02616.58
7.4.280.0030.02316.60
7.4.270.0030.02216.55
7.4.260.0060.01916.47
7.4.250.0000.02616.35
7.4.240.0000.02616.40
7.4.230.0000.02616.42
7.4.220.0130.03616.40
7.4.210.0120.03316.58
7.4.200.0030.02416.56
7.4.160.0100.03316.57
7.4.150.0070.03717.40
7.4.140.0120.03517.86
7.4.130.0140.03216.90
7.4.120.0070.03716.82
7.4.110.0120.03716.93
7.4.100.0140.03716.95
7.4.90.0110.03716.64
7.4.80.0110.03617.18
7.4.70.0100.03516.67
7.4.60.0090.03616.53
7.4.50.0100.03516.52
7.4.40.0120.03316.55
7.4.30.0120.03416.52
7.4.20.0120.03416.55
7.4.10.0130.03516.44
7.4.00.0110.03316.40
7.3.330.0060.02013.20
7.3.320.0080.02413.18
7.3.310.0060.01916.16
7.3.300.0000.02616.33
7.3.290.0130.02916.28
7.3.280.0120.03416.33
7.3.270.0070.03917.40
7.3.260.0160.02817.86
7.3.250.0120.03416.68
7.3.240.0090.03517.03
7.3.230.0150.03716.93
7.3.220.0080.03617.14
7.3.210.0110.03616.69
7.3.200.0130.03216.73
7.3.190.0080.03616.62
7.3.180.0110.03516.66
7.3.170.0110.03616.55
7.3.160.0090.03816.62
7.3.150.0140.03916.50
7.3.140.0070.03816.62
7.3.130.0110.03316.55
7.3.120.0110.03416.54
7.3.110.0080.03716.54
7.3.100.0120.03416.38
7.3.90.0080.03816.32
7.3.80.0100.03616.22
7.3.70.0090.03716.23
7.3.60.0100.03516.19
7.3.50.0100.03516.20
7.3.40.0090.03616.15
7.3.30.0130.03416.17
7.3.20.0080.03616.22
7.3.10.0110.03616.27
7.3.00.0110.03616.20
7.2.340.0220.03617.20
7.2.330.0180.03316.88
7.2.320.0110.03716.86
7.2.310.0120.03716.72
7.2.300.0130.03516.68
7.2.290.0140.03416.70
7.2.280.0140.03816.64
7.2.270.0130.03716.76
7.2.260.0100.03816.73
7.2.250.0110.03516.72
7.2.240.0120.03616.68
7.2.230.0160.03616.56
7.2.220.0120.03616.54
7.2.210.0110.03816.40
7.2.200.0120.03616.35
7.2.190.0130.03716.34
7.2.180.0110.03516.35
7.2.170.0090.03716.36
7.2.160.0130.03616.33
7.2.150.0210.03416.41
7.2.140.0190.03516.51
7.2.130.0100.03816.49
7.2.120.0130.03716.43
7.2.110.0130.03616.45
7.2.100.0190.03716.49
7.2.90.0120.03816.42
7.2.80.0140.03816.36
7.2.70.0130.03516.43
7.2.60.0130.03516.45
7.2.50.0140.03716.48
7.2.40.0160.03516.58
7.2.30.0140.03816.77
7.2.20.0160.03716.73
7.2.10.0160.03816.76
7.2.00.0140.03816.71
7.1.330.0220.03315.81
7.1.320.0220.03515.65
7.1.310.0180.03715.49
7.1.300.0190.03715.49
7.1.290.0170.03715.45
7.1.280.0190.03415.48
7.1.270.0200.03615.52
7.1.260.0250.03715.47
7.1.250.0160.03915.43
7.1.240.0240.03515.41
7.1.230.0250.03315.41
7.1.220.0240.03615.40
7.1.210.0210.03715.42
7.1.200.0200.03415.36
7.1.190.0190.03615.47
7.1.180.0150.03915.39
7.1.170.0180.03615.42
7.1.160.0240.03415.51
7.1.150.0260.03615.66
7.1.140.0230.03515.70
7.1.130.0190.03715.72
7.1.120.0200.03715.67
7.1.110.0190.03615.56
7.1.100.0250.03515.59
7.1.90.0180.03715.53
7.1.80.0230.03515.59
7.1.70.0220.03615.47
7.1.60.0300.03719.06
7.1.50.0260.03618.97
7.1.40.0260.03918.88
7.1.30.0260.03719.01
7.1.20.0210.03718.95
7.1.10.0170.03715.30
7.1.00.0190.03615.27
7.0.330.0190.03715.06
7.0.320.0200.03715.11
7.0.310.0210.03415.11
7.0.300.0190.03515.16
7.0.290.0230.03615.29
7.0.280.0180.03715.14
7.0.270.0230.03615.38
7.0.260.0220.03515.37
7.0.250.0180.03715.32
7.0.240.0200.03715.25
7.0.230.0220.03515.31
7.0.220.0190.03815.27
7.0.210.0200.03615.10
7.0.200.0200.03615.16
7.0.190.0220.03415.12
7.0.180.0200.03715.05
7.0.170.0210.03415.03
7.0.160.0190.03515.01
7.0.150.0160.03815.04
7.0.140.0180.03615.03
7.0.130.0160.03715.09
7.0.120.0200.03515.07
7.0.110.0170.03615.03
7.0.100.0220.03715.06
7.0.90.0190.03514.99
7.0.80.0170.03614.99
7.0.70.0190.03414.99
7.0.60.0190.03514.96
7.0.50.0160.03615.03
7.0.40.0190.03515.04
7.0.30.0210.03315.03
7.0.20.0170.03615.02
7.0.10.0200.03615.00
7.0.00.0210.03715.07
5.6.400.0170.04115.75
5.6.390.0180.03915.79
5.6.380.0200.03815.74
5.6.370.0190.03615.80
5.6.360.0190.03615.77
5.6.350.0160.03915.74
5.6.340.0170.03815.75
5.6.330.0170.04015.80
5.6.320.0180.03615.81
5.6.310.0180.03915.80
5.6.300.0180.04916.76
5.6.290.0170.04916.75
5.6.280.0150.04816.79
5.6.270.0160.04716.76
5.6.260.0180.04716.75
5.6.250.0200.04916.75
5.6.240.0160.05016.80
5.6.230.0140.05116.78
5.6.220.0170.05116.79
5.6.210.0200.04616.77
5.6.200.0170.05016.79
5.6.190.0160.04916.76
5.6.180.0210.04816.82
5.6.170.0160.04916.76
5.6.160.0170.04716.73
5.6.150.0180.04716.70
5.6.140.0160.05016.73
5.6.130.0180.04716.76
5.6.120.0190.04816.79
5.6.110.0180.04916.76
5.6.100.0160.05016.74
5.6.90.0160.04816.78
5.6.80.0150.05216.57
5.6.70.0190.04816.57
5.6.60.0160.04916.57
5.6.50.0190.04916.59
5.6.40.0150.05016.59
5.6.30.0150.04816.60
5.6.20.0190.04916.56
5.6.10.0170.04616.64
5.6.00.0180.04816.54
5.5.380.0180.04916.04
5.5.370.0160.05016.10
5.5.360.0180.04816.06
5.5.350.0180.04816.17
5.5.340.0180.04816.10
5.5.330.0180.04716.16
5.5.320.0160.04916.12
5.5.310.0190.04616.11
5.5.300.0180.04616.13
5.5.290.0170.04916.13
5.5.280.0180.04716.22
5.5.270.0180.04816.17
5.5.260.0180.04716.20
5.5.250.0190.04616.11
5.5.240.0170.04716.01
5.5.230.0170.04816.00
5.5.220.0150.04816.04
5.5.210.0170.04916.01
5.5.200.0150.05016.01
5.5.190.0160.04916.00
5.5.180.0170.05016.04
5.5.170.0170.03915.58
5.5.160.0170.04716.02
5.5.150.0150.04816.01
5.5.140.0160.04915.96
5.5.130.0170.05015.96
5.5.120.0180.05015.93
5.5.110.0150.04916.03
5.5.100.0150.05115.95
5.5.90.0180.04615.90
5.5.80.0160.04815.99
5.5.70.0180.04515.90
5.5.60.0150.05015.92
5.5.50.0150.04815.96
5.5.40.0170.04715.95
5.5.30.0170.04715.97
5.5.20.0180.04615.94
5.5.10.0160.04915.89
5.5.00.0170.04815.87
5.4.450.0150.04614.18
5.4.440.0140.04514.19
5.4.430.0150.04514.21
5.4.420.0140.04514.16
5.4.410.0140.04414.14
5.4.400.0150.04614.08
5.4.390.0170.04414.09
5.4.380.0140.04514.07
5.4.370.0130.04614.05
5.4.360.0140.04914.10
5.4.350.0150.04914.11
5.4.340.0150.04514.08
5.4.330.0160.03412.90
5.4.320.0150.04614.05
5.4.310.0160.04314.05
5.4.300.0140.04514.09
5.4.290.0140.04614.04
5.4.280.0130.04514.04
5.4.270.0140.04414.07
5.4.260.0140.04614.05
5.4.250.0160.04414.11
5.4.240.0160.04314.07
5.4.230.0140.04414.08
5.4.220.0150.04514.09
5.4.210.0180.04214.00
5.4.200.0130.04914.09
5.4.190.0150.04614.05
5.4.180.0150.04414.03
5.4.170.0180.04214.06
5.4.160.0150.04414.05
5.4.150.0130.04614.02
5.4.140.0150.04413.63
5.4.130.0140.04713.59
5.4.120.0160.04313.62
5.4.110.0150.04613.60
5.4.100.0150.04513.60
5.4.90.0140.04513.57
5.4.80.0140.04413.58
5.4.70.0140.04413.63
5.4.60.0160.04413.58
5.4.50.0140.04613.55
5.4.40.0150.04213.63
5.4.30.0160.04113.60
5.4.20.0140.04313.63
5.4.10.0140.04313.58
5.4.00.0150.04313.46
5.3.290.0180.03317.86
5.3.280.0180.03317.86
5.3.270.0090.04217.86
5.3.260.0160.03417.86
5.3.250.0090.04117.86
5.3.240.0110.04017.86
5.3.230.0110.03717.86
5.3.220.0110.03717.86
5.3.210.0240.02517.86
5.3.200.0140.03517.86
5.3.190.0090.04017.86
5.3.180.0200.03117.86
5.3.170.0110.04117.86
5.3.160.0140.03517.86
5.3.150.0180.03417.86
5.3.140.0170.03717.86
5.3.130.0160.03417.86
5.3.120.0210.03017.86
5.3.110.0270.02517.86
5.3.100.0170.03317.86
5.3.90.0240.02817.86
5.3.80.0200.03217.86
5.3.70.0150.03517.86
5.3.60.0210.00917.86
5.3.50.0150.01217.86
5.3.40.0180.01217.86
5.3.30.0170.01117.86
5.3.20.0140.01417.86
5.3.10.0130.01017.86
5.3.00.0240.00917.86
5.2.170.0070.00613.93
5.2.160.0120.01217.86
5.2.150.0140.00717.86
5.2.140.0140.00517.86
5.2.130.0130.00517.86
5.2.120.0110.00817.86
5.2.110.0110.00817.86
5.2.100.0180.00417.86
5.2.90.0120.00817.86
5.2.80.0080.01217.86
5.2.70.0170.00317.86
5.2.60.0060.01217.86
5.2.50.0070.01317.86
5.2.40.0090.00917.86
5.2.30.0120.00617.86
5.2.20.0190.00017.86
5.2.10.0120.00617.86
5.2.00.0090.00917.86
5.1.60.0050.01017.86
5.1.50.0070.00717.86
5.1.40.0070.00717.86
5.1.30.0080.00817.86
5.1.20.0130.00517.86
5.1.10.0110.00717.86
5.1.00.0160.00317.86
5.0.50.0150.00017.86
5.0.40.0060.00917.86
5.0.30.0150.00317.86
5.0.20.0110.00817.86
5.0.10.0100.00317.86
5.0.00.0000.01717.86
4.4.90.0070.00417.86
4.4.80.0060.00317.86
4.4.70.0030.00617.86
4.4.60.0070.00217.86
4.4.50.0060.00317.86
4.4.40.0040.00417.86
4.4.30.0040.00417.86
4.4.20.0080.00217.86
4.4.10.0050.00517.86
4.4.00.0090.00017.86
4.3.110.0060.00317.86
4.3.100.0040.00417.86
4.3.90.0110.00417.86
4.3.80.0120.00017.86
4.3.70.0060.00317.86
4.3.60.0050.00517.86
4.3.50.0110.00017.86
4.3.40.0100.00517.86
4.3.30.0050.00317.86
4.3.20.0060.00317.86
4.3.10.0090.00017.86
4.3.00.0060.00317.86

preferences:
75.5 ms | 403 KiB | 5 Q