3v4l.org

run code in 300+ PHP versions simultaneously
<?php $email = "edusegzy2@gmail.com"; $domain = explode("google.com",$email); $valid = checkdnsrr($domain[1], "ANY"); if($valid) echo "The domain has an MX record!"; else echo "Cannot locate MX record for $domain[1]!"; ?>

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.0090.00616.63
8.3.50.0130.00721.96
8.3.40.0120.00318.74
8.3.30.0050.01018.93
8.3.20.0060.00320.27
8.3.10.0080.00021.76
8.3.00.0080.00019.26
8.2.180.0140.00718.67
8.2.170.0090.00622.96
8.2.160.0100.00320.38
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0040.00426.16
8.2.120.0060.00319.38
8.2.110.0060.00321.04
8.2.100.0120.00017.75
8.2.90.0000.00819.05
8.2.80.0080.00017.97
8.2.70.0060.00317.75
8.2.60.0000.00817.77
8.2.50.0090.00018.07
8.2.40.0040.00420.20
8.2.30.0000.01018.08
8.2.20.0030.00517.83
8.2.10.0080.00018.21
8.2.00.0040.00417.91
8.1.280.0090.00625.92
8.1.270.0050.00318.93
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0030.00622.06
8.1.230.0080.00417.65
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.35
8.1.190.0040.00417.35
8.1.180.0080.00018.10
8.1.170.0090.00020.44
8.1.160.0000.00721.96
8.1.150.0040.00418.88
8.1.140.0000.00817.46
8.1.130.0000.00717.84
8.1.120.0020.00517.38
8.1.110.0040.00417.41
8.1.100.0080.00017.40
8.1.90.0000.00717.36
8.1.80.0000.00717.32
8.1.70.0030.00317.30
8.1.60.0000.00817.58
8.1.50.0060.00317.43
8.1.40.0040.00817.43
8.1.30.0040.00417.56
8.1.20.0040.00417.66
8.1.10.0000.00717.41
8.1.00.0000.00917.48
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0030.00318.38
8.0.270.0030.00317.11
8.0.260.0030.00317.24
8.0.250.0030.00316.95
8.0.240.0000.00716.80
8.0.230.0000.00716.92
8.0.220.0070.00016.89
8.0.210.0000.00816.89
8.0.200.0030.00317.01
8.0.190.0050.00316.99
8.0.180.0040.00416.80
8.0.170.0040.00416.81
8.0.160.0040.00416.89
8.0.150.0040.00416.84
8.0.140.0030.00316.90
8.0.130.0080.00013.25
8.0.120.0030.00516.75
8.0.110.0020.00516.87
8.0.100.0080.00016.84
8.0.90.0050.00216.81
8.0.80.0070.01016.89
8.0.70.0000.00716.74
8.0.60.0040.00416.89
8.0.50.0070.00016.91
8.0.30.0090.01117.01
8.0.20.0120.00717.40
8.0.10.0030.00517.06
8.0.00.0120.00916.69
7.4.330.0040.00415.03
7.4.320.0000.00616.41
7.4.300.0030.00316.30
7.4.290.0060.00316.34
7.4.280.0070.00016.53
7.4.270.0000.00716.37
7.4.260.0000.00716.37
7.4.250.0070.00016.53
7.4.240.0010.00616.44
7.4.230.0070.00016.59
7.4.220.0030.01816.64
7.4.210.0080.00916.45
7.4.200.0000.00716.48
7.4.160.0090.00616.32
7.4.150.0110.00817.40
7.4.140.0170.00717.86
7.4.130.0070.01216.57
7.4.120.0030.01916.48
7.4.110.0130.00716.50
7.4.100.0060.01616.72
7.4.90.0100.00716.68
7.4.80.0120.01519.39
7.4.70.0060.01216.48
7.4.60.0130.00316.57
7.4.50.0030.00316.37
7.4.40.0140.00316.60
7.4.30.0150.00616.71
7.4.00.0060.01115.08
7.3.330.0050.00013.13
7.3.320.0150.00013.11
7.3.310.0080.00016.28
7.3.300.0030.00316.30
7.3.290.0040.00416.27
7.3.280.0090.00916.32
7.3.270.0090.00917.40
7.3.260.0070.01016.44
7.3.250.0150.00616.40
7.3.240.0100.01016.47
7.3.230.0080.01416.39
7.3.210.0110.01116.29
7.3.200.0080.00819.39
7.3.190.0030.01216.35
7.3.180.0030.01416.30
7.3.170.0030.01816.44
7.3.160.0030.01416.41
7.3.120.0130.00314.48
7.3.110.0100.00314.59
7.3.100.0040.01114.46
7.3.90.0090.00614.86
7.3.80.0000.01514.72
7.3.70.0070.00314.73
7.3.60.0000.01014.84
7.3.50.0100.00314.84
7.3.40.0040.01114.64
7.3.30.0070.00714.82
7.3.20.0110.00416.32
7.3.10.0090.00616.71
7.3.00.0030.00716.78
7.2.330.0120.01216.22
7.2.320.0140.00316.38
7.2.310.0070.01016.63
7.2.300.0100.00716.41
7.2.290.0030.02016.75
7.2.250.0140.00415.29
7.2.240.0100.01015.27
7.2.230.0070.00715.03
7.2.220.0070.01015.16
7.2.210.0090.00615.23
7.2.200.0070.00414.96
7.2.190.0030.01314.75
7.2.180.0000.01214.93
7.2.170.0030.00714.77
7.2.00.0070.01019.38
7.1.330.0130.00015.96
7.1.320.0040.00815.62
7.1.310.0070.00715.81
7.1.300.0100.00015.85
7.1.290.0040.00815.71
7.1.280.0090.00615.80
7.1.270.0060.00315.73
7.1.260.0070.00415.64
7.1.100.0000.01118.10
7.1.70.0000.01016.95
7.1.60.0030.02019.50
7.1.50.0000.01716.96
7.1.00.0000.08022.40
7.0.200.0620.00314.62
7.0.140.0030.07722.00
7.0.60.0100.07319.98
7.0.50.0100.05717.83
7.0.40.0030.05720.27
7.0.30.0170.08720.10
7.0.20.0130.05020.12
7.0.10.0270.09020.28
7.0.00.0200.07320.13
5.6.280.0070.07020.77
5.6.210.0100.07320.69
5.6.200.0100.06718.12
5.6.190.0170.07020.39
5.6.180.0270.07720.36
5.6.170.0300.04720.54
5.6.160.0000.05020.52
5.6.150.0000.04318.18
5.6.140.0070.08318.14
5.6.130.0070.05318.07
5.6.120.0130.07320.89
5.6.110.0000.08721.14
5.6.100.0100.08020.99
5.6.90.0070.07020.95
5.6.80.0100.07720.30
5.6.70.0170.04020.47
5.5.350.0330.04020.52
5.5.340.0000.04017.96
5.5.330.0070.08320.23
5.5.320.0100.06320.27
5.5.310.0270.08020.29
5.5.300.0100.04017.91
5.5.290.0030.04018.02
5.5.280.0070.04020.64
5.5.270.0130.08020.95
5.5.260.0100.08320.75
5.5.250.0070.08020.54
5.5.240.0070.08020.26
5.4.450.0330.05319.49
5.4.440.0200.06319.12
5.4.430.0870.06319.46
5.4.420.0900.05719.49
5.4.410.0170.05018.70
5.4.400.0930.06718.75
5.4.390.0770.08018.59
5.4.380.1000.06718.47
5.4.370.0970.07318.62
5.4.360.1030.06318.72
5.4.350.1030.06318.53
5.4.340.1070.07018.74
5.4.320.0900.08018.77
5.4.310.0930.07318.77
5.4.300.1070.05718.72
5.4.290.0930.08718.77
5.4.280.0930.07018.71
5.4.270.1270.07718.73
5.4.260.0800.07718.48
5.4.250.0970.07718.48
5.4.240.1200.05018.56
5.4.230.0800.07718.49
5.4.220.0830.07318.52
5.4.210.1070.07018.57
5.4.200.0870.04716.67
5.4.190.0870.05718.70
5.4.180.0770.07318.48
5.4.170.0900.06318.73
5.4.160.0770.06018.66
5.4.150.0500.07018.70
5.4.140.0870.08016.26
5.4.130.0830.07016.18
5.4.120.1030.06316.19
5.4.110.0930.06716.31
5.4.100.1130.07316.20
5.4.90.1170.06316.22
5.4.80.5530.07716.14
5.4.70.1030.06316.17
5.4.60.1100.05016.19
5.4.50.0770.05716.09
5.4.40.0930.07016.13
5.4.30.0270.05716.18
5.4.20.1200.05016.16
5.4.10.0900.07016.30
5.4.00.0870.07015.58
5.3.290.1200.07714.66
5.3.280.1300.06314.60
5.3.270.0830.05714.59
5.3.260.1000.05714.71
5.3.250.1200.06314.59
5.3.240.0730.06014.56
5.3.230.0600.06014.59
5.3.220.0930.07314.44
5.3.210.0870.07014.67
5.3.200.0930.04714.55
5.3.190.0900.06014.62
5.3.180.0970.05714.51
5.3.170.0830.06714.57
5.3.160.0800.06014.52
5.3.150.0900.07314.64
5.3.140.0870.07714.47
5.3.130.0900.07314.48
5.3.120.0730.06714.52
5.3.110.0970.06014.48
5.3.100.0870.06014.02
5.3.90.1370.07014.09
5.3.80.0670.08713.95
5.3.70.1030.05714.05
5.3.60.1200.05314.03
5.3.50.1000.05013.88
5.3.40.0870.06013.86
5.3.30.1000.05713.86
5.3.20.0970.05713.66
5.3.10.0930.08313.73
5.3.00.1130.06313.73
5.2.170.0730.04711.19
5.2.160.0670.05711.17
5.2.150.0900.05011.13
5.2.140.0770.04011.17
5.2.130.0670.05311.25
5.2.120.0700.05011.07
5.2.110.0870.04311.05
5.2.100.0670.04711.05
5.2.90.0770.04711.05
5.2.80.0630.04711.05
5.2.70.1130.05311.13
5.2.60.0570.05011.03
5.2.50.1070.05010.99
5.2.40.0430.04710.97
5.2.30.0530.04310.96
5.2.20.0570.04311.00
5.2.10.0400.04710.92
5.2.00.0430.04310.75
5.1.60.0370.04310.07
5.1.50.0800.02710.02
5.1.40.0870.04010.04
5.1.30.0600.04710.52
5.1.20.0530.03710.35
5.1.10.0430.04710.11
5.1.00.0470.05310.29
5.0.50.0330.0278.55
5.0.40.0270.0338.41
5.0.30.0300.0478.25
5.0.20.0130.0338.25
5.0.10.0530.0238.33
5.0.00.0300.0538.20
4.4.90.0430.0175.99
4.4.80.0270.0275.94
4.4.70.0200.0276.03
4.4.60.0300.0275.93
4.4.50.0230.0235.94
4.4.40.0330.0475.94
4.4.30.0170.0335.91
4.4.20.0170.0305.98
4.4.10.0370.0276.04
4.4.00.0370.0335.98
4.3.110.0270.0305.91
4.3.100.0430.0175.96
4.3.90.0270.0275.85
4.3.80.0330.0435.82
4.3.70.0230.0235.82
4.3.60.0370.0235.81
4.3.50.0170.0375.84
4.3.40.0170.0435.77
4.3.30.0030.0274.59
4.3.20.0100.0334.64
4.3.10.0230.0274.55
4.3.00.0130.0206.75

preferences:
63.24 ms | 401 KiB | 5 Q