3v4l.org

run code in 300+ PHP versions simultaneously
<?php foreach (array( 'localpart.ending.with.dot.@example.com', '(comment)localpart@example.com', '"this is v@lid!"@example.com', '"much.more unusual"@example.com', 'postbox@com', 'admin@mailserver1', '"()<>[]:,;@\\"\\\\!#$%&\'*+-/=?^_`{}| ~.a"@example.org', '" "@example.org', ) as $address) { echo "<p>$address is <b>".(filter_var($address, FILTER_VALIDATE_EMAIL) ? '' : 'not')." valid</b></p>\n"; } ?>

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.0120.00618.64
8.3.50.0140.00821.33
8.3.40.0160.00019.20
8.3.30.0090.00620.35
8.3.20.0080.00020.59
8.3.10.0080.00022.36
8.3.00.0030.00522.71
8.2.180.0080.00816.97
8.2.170.0060.00922.96
8.2.160.0120.00322.49
8.2.150.0080.00024.18
8.2.140.0060.00324.66
8.2.130.0040.00726.16
8.2.120.0000.00821.26
8.2.110.0090.00022.46
8.2.100.0030.01018.22
8.2.90.0040.00419.60
8.2.80.0030.00619.61
8.2.70.0030.00618.13
8.2.60.0040.00418.28
8.2.50.0030.00618.13
8.2.40.0030.00518.53
8.2.30.0050.00319.86
8.2.20.0030.00518.07
8.2.10.0080.00018.24
8.2.00.0030.00518.21
8.1.270.0080.00024.20
8.1.260.0060.00326.35
8.1.250.0000.00828.09
8.1.240.0060.00324.25
8.1.230.0090.00319.47
8.1.220.0030.00617.93
8.1.210.0050.00318.77
8.1.200.0060.00317.73
8.1.190.0060.00317.80
8.1.180.0060.00319.39
8.1.170.0000.00819.09
8.1.160.0040.00719.09
8.1.150.0060.00618.87
8.1.140.0030.00617.70
8.1.130.0000.00918.06
8.1.120.0000.00817.79
8.1.110.0050.00517.63
8.1.100.0030.00517.62
8.1.90.0040.00417.77
8.1.80.0000.00817.73
8.1.70.0000.00717.74
8.1.60.0000.01017.86
8.1.50.0030.00617.77
8.1.40.0090.00017.77
8.1.30.0040.00417.86
8.1.20.0060.00317.95
8.1.10.0050.00317.69
8.1.00.0030.00919.74
8.0.300.0060.00318.77
8.0.290.0080.00017.41
8.0.280.0000.00718.54
8.0.270.0030.00617.35
8.0.260.0040.00417.10
8.0.250.0040.00417.21
8.0.240.0030.00617.20
8.0.230.0000.00717.09
8.0.220.0040.00417.31
8.0.210.0000.00817.12
8.0.200.0030.00317.13
8.0.190.0050.00317.29
8.0.180.0000.00817.25
8.0.170.0000.00817.24
8.0.160.0030.00617.26
8.0.150.0040.00417.17
8.0.140.0030.00517.20
8.0.130.0030.00313.62
8.0.120.0050.00317.26
8.0.110.0030.00717.31
8.0.100.0050.00317.06
8.0.90.0040.00417.24
8.0.80.0060.00917.31
8.0.70.0040.00417.13
8.0.60.0060.00317.26
8.0.50.0050.00317.38
8.0.30.0100.01017.29
8.0.20.0130.00717.42
8.0.10.0030.00517.11
8.0.00.0110.01217.15
7.4.330.0030.00315.39
7.4.320.0030.00316.89
7.4.300.0030.00316.79
7.4.290.0030.00516.88
7.4.280.0000.00816.88
7.4.270.0070.00016.99
7.4.260.0030.00313.59
7.4.250.0030.00616.83
7.4.240.0020.00616.98
7.4.230.0040.00416.80
7.4.220.0100.00716.80
7.4.210.0060.00916.88
7.4.200.0040.00416.81
7.4.190.0040.00416.73
7.4.160.0130.00316.73
7.4.150.0130.00617.40
7.4.140.0140.00917.86
7.4.130.0070.01116.96
7.4.120.0150.00416.88
7.4.110.0100.01016.88
7.4.100.0060.01616.70
7.4.90.0030.01516.75
7.4.80.0110.00719.39
7.4.70.0080.01716.73
7.4.60.0090.00917.08
7.4.50.0040.00416.91
7.4.40.0070.00722.77
7.4.30.0170.00716.72
7.4.10.0120.00415.07
7.4.00.0070.01215.12
7.3.330.0000.00613.51
7.3.320.0000.00613.38
7.3.310.0040.00416.80
7.3.300.0050.00216.67
7.3.290.0040.00416.73
7.3.280.0060.01116.71
7.3.270.0100.01017.40
7.3.260.0090.01417.01
7.3.250.0080.01116.62
7.3.240.0140.00316.72
7.3.230.0040.01517.10
7.3.210.0150.00316.58
7.3.200.0110.00819.39
7.3.190.0030.01616.82
7.3.180.0080.00816.64
7.3.170.0070.01016.69
7.3.160.0150.00316.60
7.3.130.0100.01014.82
7.3.120.0050.01315.20
7.3.110.0050.01314.99
7.3.100.0050.01015.13
7.3.90.0080.01115.19
7.3.80.0040.01015.44
7.3.70.0030.01015.18
7.3.60.0100.00415.19
7.3.50.0040.00815.11
7.3.40.0040.00715.08
7.3.30.0060.00915.15
7.3.20.0060.00716.91
7.3.10.0030.00717.09
7.3.00.0050.00916.96
7.2.330.0090.01216.74
7.2.320.0130.01016.95
7.2.310.0100.01416.93
7.2.300.0120.00617.06
7.2.290.0070.01016.98
7.2.260.0060.01315.32
7.2.250.0060.01415.30
7.2.240.0060.00815.20
7.2.230.0100.00615.25
7.2.220.0070.01015.29
7.2.210.0070.00915.43
7.2.200.0070.00415.01
7.2.190.0020.01415.40
7.2.180.0090.00615.28
7.2.170.0070.00515.47
7.2.160.0060.00915.11
7.2.150.0080.00817.29
7.2.140.0110.00317.25
7.2.130.0000.01317.32
7.2.120.0130.00317.16
7.2.110.0070.01417.02
7.2.100.0070.00717.23
7.2.90.0060.00617.00
7.2.80.0070.01017.31
7.2.70.0000.01516.98
7.2.60.0070.00317.24
7.2.50.0040.01117.25
7.2.40.0030.01217.11
7.2.30.0130.00317.17
7.2.20.0030.01417.29
7.2.10.0040.00716.88
7.2.00.0050.00818.53
7.1.330.0070.00816.06
7.1.320.0070.00916.08
7.1.310.0000.01316.24
7.1.300.0050.00715.98
7.1.290.0070.00715.99
7.1.280.0010.01016.09
7.1.270.0070.00716.11
7.1.260.0040.00916.24
7.1.250.0060.00916.20
7.1.240.0060.00316.17
7.1.230.0070.01016.19
7.1.220.0090.00615.99
7.1.210.0030.00615.98
7.1.200.0130.00316.23
7.1.190.0040.01115.97
7.1.180.0030.01016.17
7.1.170.0040.01115.74
7.1.160.0100.00716.00
7.1.150.0070.01016.06
7.1.140.0030.00815.92
7.1.130.0070.00716.24
7.1.120.0000.01016.07
7.1.110.0030.01216.30
7.1.100.0020.01017.25
7.1.90.0030.00716.06
7.1.80.0030.01016.16
7.1.70.0040.00616.66
7.1.60.0140.00517.78
7.1.50.0100.00816.82
7.1.40.0070.00316.29
7.1.30.0080.00415.69
7.1.20.0030.00715.91
7.1.10.0040.01115.84
7.1.00.0070.03519.31
7.0.330.0000.01415.82
7.0.320.0070.01015.61
7.0.310.0080.00815.59
7.0.300.0090.00615.66
7.0.290.0030.01215.68
7.0.280.0030.01015.64
7.0.270.0040.01115.88
7.0.260.0000.01715.82
7.0.250.0000.01215.52
7.0.240.0070.01015.88
7.0.230.0090.00615.84
7.0.220.0090.00616.07
7.0.210.0000.01415.89
7.0.200.0020.00716.31
7.0.190.0100.00715.76
7.0.180.0040.01115.87
7.0.170.0040.01215.70
7.0.160.0090.00615.75
7.0.150.0060.00915.75
7.0.140.0080.04019.03
7.0.130.0070.00715.91
7.0.120.0040.00815.75
7.0.110.0100.00315.89
7.0.100.0030.00915.88
7.0.90.0040.00715.77
7.0.80.0030.01216.01
7.0.70.0070.03718.86
7.0.60.0050.03418.98
7.0.50.0070.04218.96
7.0.40.0050.02916.96
7.0.30.0080.04617.10
7.0.20.0050.04916.95
7.0.10.0100.04017.14
7.0.00.0060.03517.03
5.6.400.0030.01314.29
5.6.390.0060.00614.41
5.6.380.0110.00414.67
5.6.370.0030.00914.64
5.6.360.0030.01214.54
5.6.350.0040.01214.09
5.6.340.0090.00614.40
5.6.330.0040.00714.57
5.6.320.0040.01114.55
5.6.310.0100.00314.70
5.6.300.0060.00614.83
5.6.290.0070.01014.70
5.6.280.0080.03817.59
5.6.270.0030.00814.64
5.6.260.0090.00014.38
5.6.250.0030.00914.22
5.6.240.0040.01114.72
5.6.230.0140.00314.42
5.6.220.0020.03317.51
5.6.210.0100.03717.37
5.6.200.0030.04317.64
5.6.190.0020.03017.82
5.6.180.0090.03917.71
5.6.170.0030.04517.69
5.6.160.0030.04017.61
5.6.150.0030.04817.80
5.6.140.0020.04617.65
5.6.130.0050.04017.85
5.6.120.0110.04117.89
5.6.110.0030.04917.66
5.6.100.0090.03517.78
5.6.90.0030.04717.88
5.6.80.0050.04017.42
5.6.70.0080.04017.51
5.6.60.0090.04017.46
5.6.50.0000.04817.48
5.6.40.0140.03817.41
5.6.30.0070.03217.50
5.6.20.0070.03017.34
5.6.10.0030.04617.24
5.6.00.0080.03517.53
5.5.380.0060.01014.40
5.5.370.0000.01414.27
5.5.360.0080.03717.42
5.5.350.0120.03817.47
5.5.340.0040.03817.46
5.5.330.0030.04617.57
5.5.320.0020.04617.61
5.5.310.0020.04217.49
5.5.300.0000.04917.76
5.5.290.0050.03817.65
5.5.280.0050.04317.57
5.5.270.0050.03817.57
5.5.260.0020.04717.71
5.5.250.0050.04217.44
5.5.240.0030.04417.32
5.5.230.0050.03117.22
5.5.220.0040.04317.13
5.5.210.0050.03517.29
5.5.200.0060.04217.37
5.5.190.0030.04517.36
5.5.180.0020.04517.28
5.5.170.0030.01314.39
5.5.160.0030.04517.31
5.5.150.0030.04417.09
5.5.140.0050.03917.40
5.5.130.0020.04417.42
5.5.120.0100.03517.30
5.5.110.0050.04317.21
5.5.100.0050.04517.15
5.5.90.0030.03817.17
5.5.80.0070.03917.29
5.5.70.0050.03317.09
5.5.60.0070.03717.09
5.5.50.0080.03817.27
5.5.40.0040.02417.18
5.5.30.0070.02517.24
5.5.20.0050.02317.26
5.5.10.0030.02717.27
5.5.00.0030.04717.07
5.4.450.0030.08019.41
5.4.440.0000.07319.42
5.4.430.0070.08319.39
5.4.420.0000.08319.40
5.4.410.0030.07719.20
5.4.400.0030.07319.06
5.4.390.0030.08019.12
5.4.380.0030.07318.98
5.4.370.0070.06318.86
5.4.360.0000.08719.22
5.4.350.0070.06019.21
5.4.340.0000.05319.14
5.4.320.0030.04319.31
5.4.310.0070.06319.13
5.4.300.0100.06719.15
5.4.290.0070.07019.22
5.4.280.0030.06719.06
5.4.270.0030.06019.20
5.4.260.0070.06019.31
5.4.250.0100.05019.04
5.4.240.0100.07719.04
5.4.230.0100.07019.26
5.4.220.0000.06018.98
5.4.210.0070.06019.09
5.4.200.0000.04018.97
5.4.190.0070.04719.10
5.4.180.0030.03719.15
5.4.170.0030.05018.88
5.4.160.0000.07019.09
5.4.150.0030.05719.05
5.4.140.0000.07316.34
5.4.130.0030.04716.25
5.4.120.0100.04316.25
5.4.110.0100.06016.24
5.4.100.0100.06716.37
5.4.90.0030.07316.43
5.4.80.0030.06016.27
5.4.70.0070.06716.23
5.4.60.0100.06716.31
5.4.50.0000.03716.35
5.4.40.0000.05316.45
5.4.30.0030.04316.26
5.4.20.0070.06316.42
5.4.10.0000.07316.43
5.4.00.0100.06315.69
5.3.290.0100.05714.65
5.3.280.0000.05014.51
5.3.270.0030.07314.50
5.3.260.0030.05714.67
5.3.250.0000.08014.67
5.3.240.0000.07014.64
5.3.230.0000.06314.53
5.3.220.0000.04014.66
5.3.210.0030.07314.61
5.3.200.0000.07014.53
5.3.190.0030.06714.52
5.3.180.0030.08014.65
5.3.170.0030.04014.54
5.3.160.0030.07014.64
5.3.150.0070.04714.53
5.3.140.0000.05014.65
5.3.130.0000.07314.51
5.3.120.0000.08014.66
5.3.110.0070.07314.64
5.3.100.0030.04314.10
5.3.90.0000.04314.08
5.3.80.0000.06713.87
5.3.70.0070.05013.87
5.3.60.0030.05014.08
5.3.50.0070.07314.02
5.3.40.0000.07014.04
5.3.30.0030.05013.90
5.3.20.0030.03713.68
5.3.10.0000.04313.56
5.3.00.0030.04313.39
5.2.170.0000.06012.43
5.2.160.0070.04012.43
5.2.150.0000.05312.43
5.2.140.0000.06312.43
5.2.130.0070.04012.43
5.2.120.0000.04712.43
5.2.110.0000.04312.43
5.2.100.0000.03712.43
5.2.90.0030.02712.43
5.2.80.0030.03012.43
5.2.70.0000.03012.43
5.2.60.0000.03312.43
5.2.50.0030.05012.43
5.2.40.0070.03712.43
5.2.30.0070.05012.43
5.2.20.0070.05012.43
5.2.10.0000.05712.43
5.2.00.0030.05712.43
5.1.60.0030.04312.43
5.1.50.0030.03712.43
5.1.40.0030.04712.43
5.1.30.0000.05712.43
5.1.20.0000.06012.43
5.1.10.0030.04712.43
5.1.00.0070.05312.43
5.0.50.0070.02712.43
5.0.40.0030.04012.43
5.0.30.0030.06312.43
5.0.20.0000.04312.43
5.0.10.0100.03712.43
5.0.00.0030.05012.43
4.4.90.0000.01712.43
4.4.80.0030.02712.43
4.4.70.0030.02312.43
4.4.60.0000.03712.43
4.4.50.0030.03712.43
4.4.40.0100.03712.43
4.4.30.0070.03012.43
4.4.20.0000.03712.43
4.4.10.0030.03012.43
4.4.00.0070.04712.43
4.3.110.0030.03012.43
4.3.100.0070.03012.43
4.3.90.0000.03312.43
4.3.80.0000.05312.43
4.3.70.0000.03712.43
4.3.60.0030.02712.43
4.3.50.0030.03312.43
4.3.40.0000.04712.43
4.3.30.0030.03712.43
4.3.20.0030.03012.43
4.3.10.0030.02712.43
4.3.00.0000.03012.43

preferences:
69.11 ms | 400 KiB | 5 Q