Closed GhaziTriki closed 4 months ago
The current implementation of FILTER_VALIDATE_MAC https://github.com/php/php-src/blob/f3feef8b931cd9c2c9ffa588d9044f077d54b9a3/ext/filter/logical_filters.c#L981 validates MAC-48/EUI-48 formats with colon, hyphen and dot (Cisco) styles. The mac function adds support for EUI-64 format.
FILTER_VALIDATE_MAC
MAC-48/EUI-48
mac
EUI-64
The current implementation of
FILTER_VALIDATE_MAC
https://github.com/php/php-src/blob/f3feef8b931cd9c2c9ffa588d9044f077d54b9a3/ext/filter/logical_filters.c#L981 validatesMAC-48/EUI-48
formats with colon, hyphen and dot (Cisco) styles. Themac
function adds support forEUI-64
format.