# MAC address validation for ext/filter

- Thread: https://externals.io/message/64560
- Original archive: https://news-web.php.net/php.internals/64560
- Started by Martin Jansen on 2013-01-05T21:58:08+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #64560 — Martin Jansen — 2013-01-05T21:58:08+00:00

URL: https://externals.io/message/64560#64560

In https://github.com/php/php-src/pull/247 I have implemented MAC
address validation for ext/filter.

The current implementation detects MAC addresses in three notations
(IEEE 802 with colons or hyphens and EUI-64 with dots) and optionally
one can specify the expected separator character (colons/hyphens/dots).

If you like the patch, feel free to merge the PR.  I think I have enough
karma to do it myself as well, if you want me to.

- Martin
