3v4l.org

run code in 300+ PHP versions simultaneously
<?php function hashPasswordMetro($password) { $utfString = mb_convert_encoding($password,"UTF-16LE"); $hashTag = sha1($utfString); return "0x".$hashTag; } echo hashPasswordMetro('P!x3l2214');

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.01018.30
8.3.50.0050.01021.99
8.3.40.0030.01418.72
8.3.30.0110.00418.67
8.3.20.0040.00419.16
8.3.10.0050.00321.92
8.3.00.0080.00020.95
8.2.180.0090.00616.32
8.2.170.0090.00622.96
8.2.160.0100.01019.34
8.2.150.0040.00424.18
8.2.140.0070.00024.66
8.2.130.0040.00420.47
8.2.120.0000.00726.35
8.2.110.0080.00019.27
8.2.100.0000.01219.79
8.2.90.0040.00419.34
8.2.80.0040.00417.97
8.2.70.0000.00817.63
8.2.60.0040.00417.93
8.2.50.0060.00318.10
8.2.40.0070.00420.59
8.2.30.0040.00419.28
8.2.20.0040.00417.81
8.2.10.0070.00018.19
8.2.00.0040.00418.21
8.1.280.0110.00425.92
8.1.270.0030.00623.96
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0000.00921.30
8.1.230.0080.00417.64
8.1.220.0080.00017.74
8.1.210.0060.00318.77
8.1.200.0030.00617.23
8.1.190.0000.00817.13
8.1.180.0000.00818.10
8.1.170.0040.00418.65
8.1.160.0040.00419.13
8.1.150.0050.00518.87
8.1.140.0000.00719.44
8.1.130.0000.00717.74
8.1.120.0070.00017.45
8.1.110.0000.00717.44
8.1.100.0070.00017.45
8.1.90.0070.00017.41
8.1.80.0000.00717.41
8.1.70.0030.00317.43
8.1.60.0040.00417.64
8.1.50.0000.00717.54
8.1.40.0030.00517.62
8.1.30.0040.00417.68
8.1.20.0030.00517.66
8.1.10.0080.00017.52
8.1.00.0090.00017.50
8.0.300.0050.00318.77
8.0.290.0070.00016.75
8.0.280.0030.00618.38
8.0.270.0070.00017.19
8.0.260.0000.00617.34
8.0.250.0030.00316.91
8.0.240.0040.00417.00
8.0.230.0000.00816.98
8.0.220.0000.00816.98
8.0.210.0000.00616.95
8.0.200.0030.00317.02
8.0.190.0090.00016.89
8.0.180.0000.00716.95
8.0.170.0000.00717.01
8.0.160.0040.00416.89
8.0.150.0000.00716.88
8.0.140.0030.00716.89
8.0.130.0050.00013.41
8.0.120.0080.00016.90
8.0.110.0030.00416.84
8.0.100.0000.00716.81
8.0.90.0050.00216.93
8.0.80.0030.01316.82
8.0.70.0030.00516.70
8.0.60.0000.00716.88
8.0.50.0070.00016.86
8.0.30.0090.01016.93
8.0.20.0080.01017.40
8.0.10.0000.00816.95
8.0.00.0090.00816.85
7.4.330.0040.00015.08
7.4.320.0070.00016.60
7.4.300.0000.00616.67
7.4.290.0030.00316.50
7.4.280.0040.00416.40
7.4.270.0030.00316.70
7.4.260.0030.00316.53
7.4.250.0000.00716.51
7.4.240.0030.00316.59
7.4.230.0000.00716.70
7.4.220.0080.01116.56
7.4.210.0110.00416.68
7.4.200.0000.00716.66
7.4.160.0060.01316.56
7.4.150.0120.00617.40
7.4.140.0100.00917.86
7.4.130.0150.00616.54
7.4.120.0150.00516.51
7.4.110.0080.00916.54
7.4.100.0070.01016.48
7.4.90.0090.00916.52
7.4.80.0170.00319.39
7.4.70.0030.01316.60
7.4.60.0030.01616.68
7.4.50.0110.00416.61
7.4.40.0120.00616.42
7.4.30.0090.00616.49
7.4.10.0070.01014.98
7.4.00.0070.01014.86
7.3.330.0000.00713.32
7.3.320.0050.00013.19
7.3.310.0030.00316.17
7.3.300.0000.00716.33
7.3.290.0100.00816.37
7.3.280.0060.01016.39
7.3.270.0130.00317.40
7.3.260.0120.00816.57
7.3.250.0090.00916.46
7.3.240.0100.00716.48
7.3.230.0070.01016.54
7.3.210.0100.00816.57
7.3.200.0140.00416.33
7.3.190.0060.01316.45
7.3.180.0080.00816.33
7.3.170.0030.01716.45
7.3.160.0100.01016.38
7.3.130.0090.00914.84
7.3.120.0080.00915.07
7.3.110.0050.01315.03
7.3.100.0030.01014.85
7.3.90.0100.00614.81
7.3.80.0080.00814.87
7.3.70.0030.00814.85
7.3.60.0010.00914.80
7.3.50.0090.00514.83
7.3.40.0040.00714.70
7.3.30.0050.01214.78
7.3.20.0100.00516.70
7.3.10.0040.00916.55
7.3.00.0060.00816.74
7.2.330.0120.01216.69
7.2.320.0120.00616.61
7.2.310.0150.00716.63
7.2.300.0030.01316.75
7.2.290.0090.00916.52
7.2.260.0100.00715.16
7.2.250.0070.01115.09
7.2.240.0020.01315.16
7.2.230.0060.00914.91
7.2.220.0080.00815.15
7.2.210.0060.00614.98
7.2.200.0070.00714.89
7.2.190.0050.00915.09
7.2.180.0070.00715.06
7.2.170.0080.00715.02
7.2.160.0000.01414.85
7.2.150.0070.00716.78
7.2.140.0060.00916.98
7.2.130.0070.00816.81
7.2.120.0040.01116.93
7.2.110.0000.01216.90
7.2.100.0000.01416.91
7.2.90.0070.00717.11
7.2.80.0080.00516.76
7.2.70.0120.00616.79
7.2.60.0040.01116.81
7.2.50.0040.01116.81
7.2.40.0070.00716.99
7.2.30.0050.00516.78
7.2.20.0040.00817.13
7.2.10.0000.01216.81
7.2.00.0040.01318.19
7.1.330.0060.00615.88
7.1.320.0060.00915.73
7.1.310.0070.00915.64
7.1.300.0070.00915.71
7.1.290.0070.00815.78
7.1.280.0020.00915.57
7.1.270.0100.00515.88
7.1.260.0040.01115.66
7.1.250.0060.00615.79
7.1.240.0050.00515.56
7.1.230.0060.00315.90
7.1.220.0070.00715.85
7.1.210.0080.00015.74
7.1.200.0130.00515.73
7.1.190.0070.00315.63
7.1.180.0040.01515.54
7.1.170.0070.00315.64
7.1.160.0030.00915.61
7.1.150.0050.00515.80
7.1.140.0030.00515.76
7.1.130.0080.00415.59
7.1.120.0070.00715.72
7.1.110.0030.00515.81
7.1.100.0070.00516.94
7.1.90.0000.00915.91
7.1.80.0080.00415.89
7.1.70.0020.01116.46
7.1.60.0140.00717.71
7.1.50.0100.00715.54
7.1.40.0060.00615.69
7.1.30.0070.00715.78
7.1.20.0000.00815.68
7.1.10.0040.00815.76
7.1.00.0000.04618.94
7.0.330.0110.00315.56
7.0.320.0060.00915.29
7.0.310.0000.01515.45
7.0.300.0030.01015.52
7.0.290.0100.00015.53
7.0.280.0030.01415.18
7.0.270.0070.00715.53
7.0.260.0030.00715.38
7.0.250.0040.00715.39
7.0.240.0030.00615.50
7.0.230.0090.00315.08
7.0.220.0100.00315.38
7.0.210.0000.01515.52
7.0.200.0180.00714.98
7.0.190.0000.00815.50
7.0.180.0070.00715.60
7.0.170.0110.00415.39
7.0.160.0050.00515.43
7.0.150.0000.01715.19
7.0.140.0110.00415.52
7.0.130.0030.00715.57
7.0.120.0070.00415.19
7.0.110.0040.01115.55
7.0.100.0110.00415.28
7.0.90.0000.01215.17
7.0.80.0030.00615.34
7.0.70.0580.04217.53
7.0.60.0580.03817.59
7.0.50.0570.03417.82
7.0.40.0670.03316.96
7.0.30.0600.03516.98
7.0.20.0670.03316.96
7.0.10.0600.03816.90
7.0.00.0820.03816.91
5.6.400.0100.00314.40
5.6.390.0110.00314.36
5.6.380.0040.01414.12
5.6.370.0030.01614.24
5.6.360.0030.01014.44
5.6.350.0060.00314.30
5.6.340.0060.00314.23
5.6.330.0070.01014.46
5.6.320.0090.00314.35
5.6.310.0000.01014.32
5.6.300.0100.00314.45
5.6.290.0030.01014.24
5.6.280.0070.03817.58
5.6.270.0070.00414.31
5.6.260.0070.00714.55
5.6.250.0030.00614.59
5.6.240.0080.00414.49
5.6.230.0070.00314.34
5.6.220.0590.03217.55
5.6.210.0430.03817.46
5.6.200.0480.03417.84
5.6.190.0420.04217.71
5.6.180.0650.02817.63
5.6.170.0550.03217.63
5.6.160.0690.03017.57
5.6.150.0620.03417.70
5.6.140.0750.03017.75
5.6.130.0660.03317.76
5.6.120.0120.03017.80
5.6.110.0270.03517.52
5.6.100.0650.03417.57
5.6.90.0650.03317.63
5.6.80.0540.03417.39
5.6.70.0550.03217.34
5.6.60.0580.03017.28
5.6.50.0600.03417.41
5.6.40.0560.02817.43
5.6.30.0520.03217.54
5.6.20.0560.02817.42
5.6.10.0540.02917.37
5.6.00.0500.03117.48
5.5.380.0070.00413.98
5.5.370.0060.00614.00
5.5.360.0580.03817.37
5.5.350.0570.03617.30
5.5.340.0380.04017.59
5.5.330.0630.02817.50
5.5.320.0590.03417.60
5.5.310.0630.03617.58
5.5.300.0780.02817.62
5.5.290.0540.03517.48
5.5.280.0100.03217.32
5.5.270.0520.03517.66
5.5.260.0620.03717.46
5.5.250.0700.03017.37
5.5.240.0530.03517.13
5.5.230.0480.03817.27
5.5.220.0560.02617.34
5.5.210.0500.03217.19
5.5.200.0600.03317.06
5.5.190.0480.04017.18
5.5.180.0510.03417.16
5.5.170.0040.00813.61
5.5.160.0490.03316.99
5.5.150.0650.03017.25
5.5.140.0580.03517.12
5.5.130.0570.02816.99
5.5.120.0810.03117.31
5.5.110.0670.03717.29
5.5.100.0530.03317.15
5.5.90.0720.03517.18
5.5.80.0690.03217.23
5.5.70.0570.04017.11
5.5.60.0650.03217.23
5.5.50.0550.02816.97
5.5.40.0550.02517.07
5.5.30.0680.03317.12
5.5.20.0730.02817.10
5.5.10.0630.03417.10
5.5.00.0650.03117.05

preferences:
68.57 ms | 401 KiB | 5 Q