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', '"a@b.com"<script>alert(document.cookie)</script>', 'a@b.com' ) as $address) { echo "$address is ".(filter_var($address, FILTER_VALIDATE_EMAIL) ? '' : 'not')." valid\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.0030.01417.13
8.3.50.0100.01123.03
8.3.40.0070.01019.21
8.3.30.0040.01119.28
8.3.20.0040.00420.41
8.3.10.0000.01024.03
8.3.00.0040.00419.88
8.2.180.0040.01517.00
8.2.170.0100.01022.96
8.2.160.0110.00420.90
8.2.150.0030.00624.18
8.2.140.0000.00824.66
8.2.130.0100.00626.16
8.2.120.0080.00021.27
8.2.110.0070.01022.62
8.2.100.0090.00321.43
8.2.90.0000.00918.38
8.2.80.0000.01019.29
8.2.70.0030.00618.18
8.2.60.0040.00418.13
8.2.50.0030.00517.73
8.2.40.0080.00018.13
8.2.30.0040.00418.12
8.2.20.0080.00018.19
8.2.10.0000.00918.51
8.2.00.0030.00518.29
8.1.280.0120.00325.92
8.1.270.0030.00724.34
8.1.260.0080.00026.35
8.1.250.0150.00028.09
8.1.240.0060.00324.35
8.1.230.0040.00819.45
8.1.220.0050.00318.04
8.1.210.0040.00418.77
8.1.200.0090.00017.86
8.1.190.0000.00819.51
8.1.180.0050.00518.10
8.1.170.0040.00417.85
8.1.160.0040.00419.12
8.1.150.0000.00918.99
8.1.140.0030.00717.76
8.1.130.0050.00217.97
8.1.120.0040.00417.66
8.1.110.0040.00417.72
8.1.100.0040.00417.74
8.1.90.0050.00517.71
8.1.80.0080.00017.60
8.1.70.0050.00217.56
8.1.60.0040.00417.82
8.1.50.0080.00017.64
8.1.40.0000.00917.68
8.1.30.0030.00617.87
8.1.20.0060.00317.89
8.1.10.0000.00817.77
8.1.00.0000.01219.75
8.0.300.0030.00618.77
8.0.290.0000.00917.13
8.0.280.0040.00418.22
8.0.270.0060.00318.34
8.0.260.0030.00317.35
8.0.250.0040.00417.16
8.0.240.0080.00017.14
8.0.230.0000.00817.18
8.0.220.0000.00817.29
8.0.210.0000.00817.20
8.0.200.0070.00017.22
8.0.190.0030.00617.13
8.0.180.0070.00017.21
8.0.170.0060.00317.15
8.0.160.0040.00417.22
8.0.150.0040.00417.04
8.0.140.0040.00417.21
8.0.130.0040.00413.63
8.0.120.0000.00817.11
8.0.110.0000.00817.19
8.0.100.0000.00817.22
8.0.90.0000.00817.30
8.0.80.0030.01317.21
8.0.70.0000.00817.26
8.0.60.0000.00817.25
8.0.50.0080.00017.25
8.0.30.0160.00817.53
8.0.20.0090.01017.40
8.0.10.0060.00317.18
8.0.00.0110.00717.12
7.4.330.0050.00015.28
7.4.320.0030.00316.90
7.4.300.0000.00816.98
7.4.290.0040.00416.79
7.4.280.0030.00616.88
7.4.270.0070.00017.02
7.4.260.0040.00716.88
7.4.250.0040.00416.95
7.4.240.0020.00616.86
7.4.230.0000.00716.80
7.4.220.0030.01616.86
7.4.210.0150.00616.99
7.4.200.0030.00616.70
7.4.160.0060.01216.83
7.4.150.0140.00717.40
7.4.140.0080.01017.86
7.4.130.0090.00916.80
7.4.120.0140.00816.81
7.4.110.0150.00316.80
7.4.100.0080.01116.73
7.4.90.0120.00616.95
7.4.80.0090.00919.39
7.4.70.0040.01516.84
7.4.60.0040.01416.80
7.4.50.0040.00416.88
7.4.40.0060.01216.66
7.4.30.0160.00616.84
7.4.10.0060.01415.22
7.4.00.0120.00415.08
7.3.330.0030.00313.46
7.3.320.0000.00613.32
7.3.310.0050.00216.59
7.3.300.0080.00016.62
7.3.290.0050.01116.66
7.3.280.0090.00816.59
7.3.270.0120.00617.40
7.3.260.0130.01316.68
7.3.250.0110.00716.78
7.3.240.0040.01316.57
7.3.230.0000.01716.68
7.3.210.0070.01116.77
7.3.200.0000.01919.39
7.3.190.0060.01216.59
7.3.180.0120.00617.01
7.3.170.0000.01616.64
7.3.160.0130.00316.54
7.3.130.0080.01015.28
7.3.120.0070.00815.33
7.3.110.0050.01515.37
7.3.100.0050.01015.16
7.3.90.0060.00915.35
7.3.80.0080.00315.32
7.3.70.0040.01015.18
7.3.60.0090.00615.18
7.3.50.0050.00715.13
7.3.40.0060.00515.12
7.3.30.0100.00515.23
7.3.20.0030.01116.87
7.3.10.0060.00816.94
7.3.00.0040.00916.85
7.2.330.0060.01316.77
7.2.320.0090.00916.90
7.2.310.0030.01616.80
7.2.300.0160.00316.98
7.2.290.0130.00716.91
7.2.260.0090.01015.37
7.2.250.0090.01115.26
7.2.240.0030.01415.36
7.2.230.0050.01015.12
7.2.220.0080.01115.21
7.2.210.0050.00815.40
7.2.200.0050.00815.08
7.2.190.0050.01315.37
7.2.180.0100.00415.20
7.2.170.0070.01115.38
7.2.160.0070.00915.28
7.2.150.0050.01217.17
7.2.140.0080.00717.21
7.2.130.0100.00517.16
7.2.120.0050.01117.28
7.2.110.0040.01417.14
7.2.100.0060.01317.07
7.2.90.0040.01317.14
7.2.80.0060.00817.03
7.2.70.0070.00717.13
7.2.60.0090.00717.19
7.2.50.0070.00817.26
7.2.40.0070.01017.19
7.2.30.0060.01117.17
7.2.20.0100.00817.24
7.2.10.0040.01316.95
7.2.00.0040.01017.83
7.1.330.0070.01016.17
7.1.320.0070.01015.95
7.1.310.0050.00816.24
7.1.300.0070.00916.27
7.1.290.0090.00516.12
7.1.280.0100.00716.20
7.1.270.0050.01316.10
7.1.260.0090.00816.04
7.1.250.0030.01116.15
7.1.240.0080.00915.97
7.1.230.0060.00916.00
7.1.220.0050.01016.11
7.1.210.0080.00816.14
7.1.200.0030.00916.17
7.1.190.0080.00416.17
7.1.180.0020.01416.08
7.1.170.0100.00616.06
7.1.160.0070.00715.96
7.1.150.0090.00516.02
7.1.140.0100.00816.07
7.1.130.0080.00916.19
7.1.120.0030.01216.04
7.1.110.0070.01016.25
7.1.100.0040.01117.03
7.1.90.0090.00716.07
7.1.80.0050.00816.14
7.1.70.0040.00916.48
7.1.60.0030.01117.18
7.1.50.0060.01016.36
7.1.40.0090.00716.20
7.1.30.0080.00616.23
7.1.20.0030.00916.07
7.1.10.0070.00415.79
7.1.00.0070.02918.37
7.0.330.0070.00715.83
7.0.320.0080.00815.70
7.0.310.0070.00615.78
7.0.300.0060.00915.49
7.0.290.0100.00715.50
7.0.280.0040.01015.62
7.0.270.0110.00515.72
7.0.260.0070.00915.71
7.0.250.0040.01015.85
7.0.240.0060.01115.71
7.0.230.0050.00715.82
7.0.220.0110.00515.85
7.0.210.0060.00915.88
7.0.200.0020.00916.20
7.0.190.0090.00415.82
7.0.180.0080.00515.59
7.0.170.0030.01215.88
7.0.160.0110.00615.93
7.0.150.0070.00815.52
7.0.140.0060.03117.92
7.0.130.0100.00215.80
7.0.120.0060.01015.67
7.0.110.0110.00515.91
7.0.100.0090.00715.71
7.0.90.0070.00615.74
7.0.80.0100.00315.91
7.0.70.0070.00615.92
7.0.60.0020.02317.20
7.0.50.0070.02616.52
7.0.40.0090.02315.93
7.0.30.0180.02815.97
7.0.20.0090.03215.95
7.0.10.0090.01615.92
7.0.00.0070.01916.01
5.6.400.0060.00914.64
5.6.390.0040.00814.73
5.6.380.0090.00114.68
5.6.370.0050.01214.44
5.6.360.0130.00314.31
5.6.350.0060.00814.53
5.6.340.0060.01014.71
5.6.330.0050.00914.49
5.6.320.0060.00714.38
5.6.310.0020.01414.57
5.6.300.0050.00914.51
5.6.290.0030.01214.43
5.6.280.0020.03216.76
5.6.270.0060.00814.57
5.6.260.0020.01414.44
5.6.250.0020.01214.57
5.6.240.0020.01314.44
5.6.230.0060.00914.46
5.6.220.0060.00814.48
5.6.210.0070.02616.41
5.6.200.0050.02815.73
5.6.190.0050.02816.52
5.6.180.0130.02216.47
5.6.170.0100.02116.44
5.6.160.0040.02616.43
5.6.150.0110.02415.74
5.6.140.0060.02815.74
5.6.130.0070.02515.75
5.6.120.0040.03416.76
5.6.110.0030.01916.75
5.6.100.0050.01916.66
5.6.90.0090.02816.60
5.6.80.0080.02616.45
5.6.70.0020.01214.49
5.6.60.0080.00714.18
5.6.50.0030.00914.44
5.6.40.0030.01314.42
5.6.30.0080.00514.51
5.6.20.0040.01114.34
5.6.10.0090.00714.51
5.6.00.0050.01114.22
5.5.380.0070.00914.50
5.5.370.0070.00914.41
5.5.360.0040.00914.13
5.5.350.0120.02816.58
5.5.340.0090.02215.70
5.5.330.0080.03216.59
5.5.320.0100.01816.35
5.5.310.0180.02416.26
5.5.300.0040.02815.57
5.5.290.0070.03415.50
5.5.280.0060.03016.53
5.5.270.0090.02916.44
5.5.260.0060.01716.43
5.5.250.0090.03116.51
5.5.240.0080.01316.40
5.5.230.0050.00914.36
5.5.220.0070.00514.09
5.5.210.0060.00914.39
5.5.200.0050.00714.30
5.5.190.0080.00814.15
5.5.180.0020.01414.06
5.5.170.0070.01114.23
5.5.160.0030.01014.27
5.5.150.0060.00814.20
5.5.140.0030.01114.39
5.5.130.0050.00914.19
5.5.120.0100.00514.23
5.5.110.0090.00514.21
5.5.100.0020.01214.29
5.5.90.0050.00814.30
5.5.80.0040.01014.44
5.5.70.0030.01314.28
5.5.60.0050.00714.23
5.5.50.0080.00514.19
5.5.40.0050.01114.48
5.5.30.0060.01114.20
5.5.20.0080.00914.40
5.5.10.0090.00514.37
5.5.00.0060.00714.26
5.4.450.0250.02714.62
5.4.440.0060.02514.63
5.4.430.0090.02114.78
5.4.420.0110.02214.75
5.4.410.0080.02114.58
5.4.400.0140.02214.54
5.4.390.0150.02214.49
5.4.380.0090.02314.49
5.4.370.0040.02014.46
5.4.360.0090.01914.48
5.4.350.0020.01812.25
5.4.340.0030.02212.25
5.4.330.0040.00712.35
5.4.320.0050.01712.42
5.4.310.0080.01512.42
5.4.300.0050.01712.42
5.4.290.0020.02112.41
5.4.280.0040.01612.38
5.4.270.0030.01812.38
5.4.260.0040.01912.38
5.4.250.0070.01412.38
5.4.240.0070.01412.38
5.4.230.0040.01812.38
5.4.220.0040.01812.38
5.4.210.0040.01812.38
5.4.200.0070.01712.38
5.4.190.0050.01812.38
5.4.180.0020.02012.38
5.4.170.0030.01912.38
5.4.160.0040.01912.38
5.4.150.0040.01812.38
5.4.140.0050.01712.27
5.4.130.0050.01612.27
5.4.120.0040.01612.26
5.4.110.0030.02012.26
5.4.100.0040.01812.26
5.4.90.0050.01612.26
5.4.80.0030.01812.26
5.4.70.0060.01512.26
5.4.60.0040.01912.26
5.4.50.0050.01712.26
5.4.40.0050.01812.25
5.4.30.0070.01612.26
5.4.20.0050.01712.25
5.4.10.0050.01712.26
5.4.00.0070.01512.08
5.3.290.0090.03612.80
5.3.280.0060.03712.73
5.3.270.0060.03912.75
5.3.260.0050.04012.75
5.3.250.0040.04012.75
5.3.240.0080.03512.75
5.3.230.0070.03712.74
5.3.220.0070.03612.74
5.3.210.0080.05212.73
5.3.200.0080.03312.73
5.3.190.0040.03812.73
5.3.180.0060.03612.73
5.3.170.0070.03512.73
5.3.160.0070.03512.73
5.3.150.0070.03712.74
5.3.140.0070.03612.72
5.3.130.0050.04012.72
5.3.120.0080.03712.72
5.3.110.0070.03712.72
5.3.100.0040.03812.21
5.3.90.0060.03512.17
5.3.80.0070.03512.16
5.3.70.0060.03812.16
5.3.60.0060.03712.14
5.3.50.0050.03812.09
5.3.40.0080.03512.09
5.3.30.0090.04412.05
5.3.20.0090.03711.74
5.3.10.0100.04211.71
5.3.00.0110.03111.70
5.2.170.0040.0349.28
5.2.160.0050.0289.28
5.2.150.0030.0319.28
5.2.140.0040.0309.27
5.2.130.0040.0299.16
5.2.120.0060.0279.15
5.2.110.0030.0309.16
5.2.100.0050.0279.16
5.2.90.0040.0299.15
5.2.80.0020.0329.15
5.2.70.0040.0309.15
5.2.60.0050.0299.11
5.2.50.0050.0299.07
5.2.40.0050.0289.05
5.2.30.0030.0309.03
5.2.20.0050.0289.03
5.2.10.0050.0278.94
5.2.00.0030.0308.79
5.1.60.0050.0238.07
5.1.50.0040.0248.07
5.1.40.0040.0248.05
5.1.30.0020.0278.40
5.1.20.0030.0278.42
5.1.10.0040.0268.14
5.1.00.0050.0258.14
5.0.50.0060.0196.62
5.0.40.0030.0196.48
5.0.30.0030.0316.29
5.0.20.0030.0196.27
5.0.10.0030.0206.24
5.0.00.0040.0296.23
4.4.90.0020.0184.78
4.4.80.0020.0154.75
4.4.70.0020.0164.75
4.4.60.0020.0164.75
4.4.50.0020.0164.77
4.4.40.0010.0264.71
4.4.30.0010.0174.76
4.4.20.0030.0154.84
4.4.10.0030.0154.85
4.4.00.0020.0254.76
4.3.110.0030.0154.67
4.3.100.0020.0154.67
4.3.90.0020.0154.63
4.3.80.0010.0264.59
4.3.70.0050.0124.63
4.3.60.0050.0154.63
4.3.50.0030.0184.63
4.3.40.0030.0244.54
4.3.30.0020.0163.28
4.3.20.0000.0183.25
4.3.10.0010.0173.22
4.3.00.0100.0238.54

preferences:
36.32 ms | 401 KiB | 5 Q