3v4l.org

run code in 300+ PHP versions simultaneously
<?php $emails = array("tcely", "cely@iqnection.com", "cely@tenable.com", "Chris.Ely@gmail.com", "tcely@users.noreply.github.com"); $gh_hash = 'e1072495bf07d013ec5de9f90ad6530d'; printf("github hash (len: %d): %s\n", strlen($gh_hash), $gh_hash); printf("%s\n", md5( strtolower( trim( "matt@mullenweg.com" ) ) ) ); foreach ($emails as $k => $email) { $md5 = md5( strtolower( trim( $email ) ) ); $sha1 = sha1( strtolower( trim( $email ) ) ); printf('email: %-30s'."=>\n", $email); printf("\t".'https://identicons.github.com/%s.png'."\n", $md5); printf("\t".'https://identicons.github.com/%s.png'."\n", $sha1); }

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.70.0090.00618.18
8.3.60.0060.01516.75
8.3.50.0230.01022.09
8.3.40.0090.00618.73
8.3.30.0030.01018.95
8.3.20.0130.00620.31
8.3.10.0040.00423.48
8.3.00.0040.00420.77
8.2.190.0120.00918.49
8.2.180.0090.00616.38
8.2.170.0110.00722.96
8.2.160.0100.00322.32
8.2.150.0000.00824.18
8.2.140.0110.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00022.30
8.2.110.0030.00622.26
8.2.100.0040.00717.72
8.2.90.0040.00419.26
8.2.80.0060.00317.97
8.2.70.0080.00317.50
8.2.60.0050.00318.05
8.2.50.0050.00318.07
8.2.40.0040.00418.16
8.2.30.0030.00618.13
8.2.20.0040.00417.58
8.2.10.0000.00919.54
8.2.00.0060.00317.61
8.1.280.0070.01125.92
8.1.270.0030.01223.91
8.1.260.0040.01126.35
8.1.250.0030.00528.09
8.1.240.0030.00623.98
8.1.230.0080.00319.16
8.1.220.0030.00617.79
8.1.210.0000.00818.77
8.1.200.0030.00717.35
8.1.190.0040.00417.51
8.1.180.0000.00818.10
8.1.170.0060.00318.55
8.1.160.0090.00021.89
8.1.150.0040.00418.51
8.1.140.0040.00417.42
8.1.130.0070.00017.86
8.1.120.0040.00417.44
8.1.110.0000.00817.46
8.1.100.0040.00317.42
8.1.90.0040.00317.45
8.1.80.0070.00017.45
8.1.70.0070.00017.44
8.1.60.0030.00617.57
8.1.50.0040.00417.55
8.1.40.0040.00417.53
8.1.30.0000.00817.48
8.1.20.0040.00417.48
8.1.10.0030.00517.44
8.1.00.0000.00817.36
8.0.300.0000.00718.77
8.0.290.0080.00017.05
8.0.280.0030.00318.55
8.0.270.0000.00717.26
8.0.260.0030.00316.90
8.0.250.0030.00316.97
8.0.240.0000.00716.94
8.0.230.0000.00816.98
8.0.220.0040.00416.89
8.0.210.0040.00416.77
8.0.200.0000.00716.91
8.0.190.0000.00716.87
8.0.180.0040.00416.85
8.0.170.0050.00316.79
8.0.160.0040.00316.93
8.0.150.0050.00216.96
8.0.140.0000.00816.92
8.0.130.0000.00613.41
8.0.120.0000.00716.80
8.0.110.0000.00716.84
8.0.100.0000.00716.78
8.0.90.0040.00416.89
8.0.80.0060.01316.85
8.0.70.0000.00716.71
8.0.60.0070.00016.81
8.0.50.0040.00416.78
8.0.30.0140.00517.15
8.0.20.0130.00817.40
8.0.10.0000.00716.84
8.0.00.0110.00716.77
7.4.330.0000.00615.09
7.4.320.0030.00316.52
7.4.300.0040.00416.52
7.4.290.0040.00416.59
7.4.280.0040.00416.49
7.4.270.0000.00816.50
7.4.260.0040.00416.48
7.4.250.0040.00416.32
7.4.240.0040.00416.58
7.4.230.0070.00016.49
7.4.220.0060.01316.52
7.4.210.0080.00916.60
7.4.200.0070.00016.44
7.4.190.0000.00716.37
7.4.160.0080.01216.46
7.4.150.0140.00317.40
7.4.140.0090.00817.86
7.4.130.0120.00516.53
7.4.120.0100.00816.54
7.4.110.0070.01016.46
7.4.100.0030.01716.48
7.4.90.0110.00716.50
7.4.80.0100.00716.49
7.4.70.0120.00916.37
7.4.60.0080.00816.30
7.4.50.0000.00916.29
7.4.40.0030.01322.77
7.4.30.0120.00416.59
7.4.00.0120.00315.09
7.3.330.0000.00513.07
7.3.320.0000.00613.21
7.3.310.0080.00016.39
7.3.300.0030.00316.22
7.3.290.0110.00416.37
7.3.280.0110.00816.36
7.3.270.0150.00317.40
7.3.260.0100.00716.59
7.3.250.0090.01116.31
7.3.240.0070.01016.30
7.3.230.0110.00716.39
7.3.210.0140.00316.63
7.3.200.0120.01219.39
7.3.190.0090.01316.35
7.3.180.0110.00716.41
7.3.170.0130.01016.34
7.3.160.0040.01316.21
7.3.120.0060.00914.82
7.2.330.0130.00316.78
7.2.320.0090.00916.78
7.2.310.0110.00616.73
7.2.300.0140.00316.79
7.2.290.0050.01116.75
7.2.60.0000.01016.38
7.2.00.0040.00419.28
7.1.200.0040.00815.71
7.1.100.0000.00817.93
7.1.70.0050.00317.18
7.1.60.0090.01519.29
7.1.50.0130.01016.92
7.1.00.0070.07322.32
7.0.200.0000.00816.85
7.0.140.0000.07722.07
7.0.60.0170.06019.87
7.0.50.0030.05017.85
7.0.40.0030.04320.05
7.0.30.0230.08320.34
7.0.20.0270.05320.21
7.0.10.0330.08020.17
7.0.00.0030.04719.96
5.6.280.0030.07321.09
5.6.210.0100.03320.53
5.6.200.0070.08318.22
5.6.190.0030.04320.35
5.6.180.0030.04020.34
5.6.170.0170.04320.38
5.6.160.0230.06720.49
5.6.150.0000.04718.19
5.6.140.0130.07318.18
5.6.130.0030.08018.18
5.6.120.0000.06021.09
5.6.110.0030.05721.01
5.6.100.0000.08720.98
5.6.90.0070.09020.87
5.6.80.0100.07020.39
5.5.350.0070.07020.52
5.5.340.0070.07717.96
5.5.330.0000.04320.25
5.5.320.0070.08020.20
5.5.310.0230.04320.23
5.5.300.0130.04318.02
5.5.290.0070.08017.91
5.5.280.0030.04320.68
5.5.270.0000.08320.87
5.5.260.0100.07320.72
5.5.250.0170.07720.68
5.5.240.0030.08320.35
5.4.450.0930.05319.57
5.4.440.0770.06319.46
5.4.430.1000.06719.59
5.4.420.1030.06018.97
5.4.410.0900.07018.98
5.4.400.0830.06718.74
5.4.390.1330.06318.71
5.4.380.0270.05718.66
5.4.370.0200.04718.46
5.4.360.0130.05318.74
5.4.350.0100.05718.53
5.4.340.0200.05018.76
5.4.320.0060.04112.45
5.4.310.0080.03512.45
5.4.300.0080.04912.45
5.4.290.0120.03812.45
5.4.280.0040.04012.35
5.4.270.0070.03912.35
5.4.260.0080.03612.35
5.4.250.0060.04112.35
5.4.240.0050.03712.35
5.4.230.0040.04412.34
5.4.220.0050.04212.34
5.4.210.0070.03512.34
5.4.200.0040.04212.34
5.4.190.0080.03312.34
5.4.180.0050.04212.34
5.4.170.0220.05212.34
5.4.160.0420.11812.33
5.4.150.0170.05112.33
5.4.140.0210.03912.01
5.4.130.0310.09212.00
5.4.120.0180.04311.95
5.4.110.0160.04511.95
5.4.100.0190.04411.95
5.4.90.0230.04211.95
5.4.80.0490.12511.95
5.4.70.0180.04311.95
5.4.60.0170.04411.95
5.4.50.0230.04211.95
5.4.40.0440.07911.94
5.4.30.0160.05011.93
5.4.20.0120.05311.93
5.4.10.0180.04411.93
5.4.00.0170.04311.42
5.3.290.0060.05512.80
5.3.280.0060.04412.71
5.3.270.0210.04512.73
5.3.260.0320.06612.72
5.3.250.0230.04012.72
5.3.240.0190.07612.72
5.3.230.0170.05012.71
5.3.220.0260.06912.68
5.3.210.0200.04612.68
5.3.200.0190.04312.68
5.3.190.0150.05112.67
5.3.180.0380.08612.68
5.3.170.0180.04912.67
5.3.160.0130.05212.67
5.3.150.0160.04512.67
5.3.140.0240.07112.66
5.3.130.0170.04712.66
5.3.120.0230.04812.65
5.3.110.0190.04512.66
5.3.100.0200.04312.12
5.3.90.0200.04412.08
5.3.80.0190.04712.07
5.3.70.0290.09612.08
5.3.60.0180.04412.07
5.3.50.0160.04612.00
5.3.40.0150.04612.00
5.3.30.0180.04211.95
5.3.20.0130.04511.72
5.3.10.0180.04311.69
5.3.00.0150.04211.67
5.2.170.0140.0359.19
5.2.160.0130.0349.18
5.2.150.0150.0339.18
5.2.140.0120.0379.18
5.2.130.0120.0359.14
5.2.120.0320.0789.13
5.2.110.0140.0359.14
5.2.100.0150.0329.14
5.2.90.0090.0379.14
5.2.80.0100.0369.13
5.2.70.0120.0349.13
5.2.60.0130.0359.09
5.2.50.0140.0329.05
5.2.40.0270.0809.04
5.2.30.0110.0359.00
5.2.20.0150.0329.02
5.2.10.0140.0328.93
5.2.00.0100.0358.78
5.1.60.0110.0298.07
5.1.50.0150.0268.07
5.1.40.0100.0308.05
5.1.30.0110.0318.39
5.1.20.0200.0538.43
5.1.10.0110.0328.14
5.1.00.0120.0298.14
5.0.50.0150.0196.63
5.0.40.0100.0246.50
5.0.30.0100.0346.30
5.0.20.0110.0216.28
5.0.10.0140.0216.25
5.0.00.0110.0336.25
4.4.90.0110.0154.78
4.4.80.0070.0184.75
4.4.70.0120.0134.76
4.4.60.0190.0684.75
4.4.50.0100.0154.77
4.4.40.0100.0264.70
4.4.30.0070.0204.76
4.4.20.0110.0154.84
4.4.10.0050.0204.85
4.4.00.0070.0294.76
4.3.110.0130.0444.67
4.3.100.0060.0184.66
4.3.90.0090.0164.64
4.3.80.0100.0254.58
4.3.70.0070.0184.63
4.3.60.0080.0164.63
4.3.50.0100.0174.63
4.3.40.0100.0274.54
4.3.30.0070.0183.32
4.3.20.0040.0213.30
4.3.10.0040.0193.26
4.3.00.0370.01013.64

preferences:
47.08 ms | 401 KiB | 5 Q