3v4l.org

run code in 300+ PHP versions simultaneously
<?php // Password to be encrypted for a .htpasswd file $clearTextPassword = 'some password'; // Encrypt password $password = crypt($clearTextPassword, base64_encode($clearTextPassword)); // Print encrypted password echo $password; ?>

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.00718.13
8.3.50.0090.00918.20
8.3.40.0090.00618.90
8.3.30.0100.00618.55
8.3.20.0030.00519.16
8.3.10.0000.00821.54
8.3.00.0080.00023.52
8.2.180.0100.01318.41
8.2.170.0000.01522.96
8.2.160.0070.00719.04
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0000.00818.03
8.2.120.0000.00826.35
8.2.110.0070.00419.21
8.2.100.0100.00317.63
8.2.90.0080.00017.75
8.2.80.0030.00518.61
8.2.70.0090.00017.63
8.2.60.0000.00817.63
8.2.50.0040.00418.03
8.2.40.0080.00019.25
8.2.30.0070.00019.17
8.2.20.0060.00618.05
8.2.10.0040.00419.54
8.2.00.0030.00519.47
8.1.280.0070.01125.92
8.1.270.0030.00620.33
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00024.14
8.1.230.0120.00017.48
8.1.220.0000.00818.55
8.1.210.0000.00818.77
8.1.200.0040.00417.22
8.1.190.0090.00017.10
8.1.180.0100.00018.10
8.1.170.0030.00517.62
8.1.160.0040.00418.93
8.1.150.0000.00718.92
8.1.140.0060.00319.52
8.1.130.0030.00318.93
8.1.120.0040.00417.46
8.1.110.0000.00817.35
8.1.100.0000.00817.45
8.1.90.0020.00517.41
8.1.80.0030.00317.32
8.1.70.0050.00317.44
8.1.60.0100.00317.63
8.1.50.0030.00517.46
8.1.40.0030.00517.41
8.1.30.0040.00417.57
8.1.20.0040.00417.54
8.1.10.0040.00417.57
8.1.00.0040.00417.47
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0040.00418.41
8.0.270.0000.00817.19
8.0.260.0060.00017.36
8.0.250.0030.00317.00
8.0.240.0000.00716.97
8.0.230.0050.00316.97
8.0.220.0030.00316.89
8.0.210.0040.00416.88
8.0.200.0030.00316.84
8.0.190.0040.00416.87
8.0.180.0000.00816.94
8.0.170.0050.00316.96
8.0.160.0000.00716.92
8.0.150.0040.00416.91
8.0.140.0080.00016.72
8.0.130.0030.00313.34
8.0.120.0000.00816.74
8.0.110.0040.00416.77
8.0.100.0000.00816.75
8.0.90.0040.00416.95
8.0.80.0080.00916.78
8.0.70.0080.00016.92
8.0.60.0030.00516.76
8.0.50.0000.00716.77
8.0.30.0110.00817.18
8.0.20.0140.01217.40
8.0.10.0000.00816.89
8.0.00.0090.00916.87
7.4.330.0030.00315.55
7.4.320.0000.00716.58
7.4.300.0000.00716.54
7.4.290.0040.00416.38
7.4.280.0080.00016.48
7.4.270.0000.00716.41
7.4.260.0070.00016.56
7.4.250.0000.00716.46
7.4.240.0030.00316.61
7.4.230.0050.00316.69
7.4.220.0030.00516.39
7.4.210.0070.00916.53
7.4.200.0000.00716.54
7.4.160.0110.00516.54
7.4.140.0100.00817.86
7.4.130.0120.00616.54
7.4.120.0140.00816.51
7.4.110.0100.00716.55
7.4.100.0040.01316.44
7.4.90.0100.01316.40
7.4.80.0170.00719.39
7.4.70.0070.01016.47
7.4.60.0150.00316.59
7.4.50.0080.00816.38
7.4.40.0120.00616.58
7.4.00.0080.00615.03
7.3.330.0030.00313.09
7.3.320.0030.00313.09
7.3.310.0000.00716.21
7.3.300.0050.00216.29
7.3.290.0000.00716.25
7.3.280.0070.00716.21
7.3.260.0110.00816.47
7.3.240.0100.01116.28
7.3.230.0100.00716.36
7.3.210.0070.01116.33
7.3.200.0100.00616.35
7.3.190.0070.01016.16
7.3.180.0110.00516.42
7.3.170.0100.00716.20
7.3.160.0080.01816.18
7.3.120.0070.01014.64
7.3.110.0070.00714.41
7.3.100.0070.00715.03
7.3.90.0030.01514.63
7.3.80.0030.01014.91
7.3.70.0030.00714.94
7.3.60.0070.00714.94
7.3.50.0030.01014.96
7.3.40.0040.01214.79
7.3.30.0120.00314.76
7.3.20.0000.01416.44
7.3.10.0080.00716.55
7.3.00.0090.00816.38
7.2.330.0130.00416.59
7.2.320.0120.00616.65
7.2.310.0100.01016.42
7.2.300.0140.00816.50
7.2.290.0150.00416.42
7.2.240.0100.00315.13
7.2.230.0040.01114.88
7.2.220.0060.00614.96
7.2.210.0040.01115.10
7.2.200.0060.00915.20
7.2.190.0100.00315.08
7.2.180.0030.00715.07
7.2.170.0040.01215.05
7.2.160.0000.01014.93
7.2.150.0030.00617.11
7.2.140.0030.01316.95
7.2.130.0120.00716.82
7.2.120.0070.01016.78
7.2.110.0140.00216.56
7.2.100.0080.01016.58
7.2.90.0070.00916.57
7.2.80.0140.00616.86
7.2.70.0180.00916.13
7.2.60.0150.00816.27
7.2.50.0200.00416.17
7.2.40.0130.01316.04
7.2.30.0110.00716.02
7.2.20.0150.00916.12
7.2.10.0190.00716.17
7.2.00.0380.00816.29
7.1.330.0060.00615.62
7.1.320.0070.00715.99
7.1.310.0060.00915.93
7.1.300.0030.00615.95
7.1.290.0070.00715.82
7.1.280.0030.00715.74
7.1.270.0000.00815.92
7.1.260.0030.00815.85
7.1.250.0050.01315.87
7.1.200.0120.00015.86
7.1.170.0230.00713.88
7.1.160.0280.01314.05
7.1.150.0230.01314.07
7.1.140.0280.01413.79
7.1.130.0280.00613.94
7.1.120.0350.00414.02
7.1.110.0330.01013.84
7.1.100.0350.00714.11
7.1.90.0230.00714.08
7.1.80.0350.00914.03
7.1.70.0260.00713.89
7.1.60.0520.01031.69
7.1.50.0340.01731.91
7.1.40.0560.01332.06
7.1.30.0420.01331.64
7.1.20.0620.01231.56
7.1.10.0390.00913.71
7.1.00.0330.00313.77

preferences:
55.05 ms | 400 KiB | 5 Q