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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to