MAC address validation for ext/filter
| From: | Martin Jansen | Date: | Sat, 05 Jan 2013 21:58:08 +0000 |
| Subject: | MAC address validation for ext/filter | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-64560@lists.php.net to get a copy of this message | ||
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