mirror of
https://github.com/php/php-src.git
synced 2026-04-15 03:51:07 +02:00
Both filters are equivalent, but FILTER_VALIDATE_BOOL uses our canonical name for the type (the only one permitted in type declarations for example), so the new name is preferred long term. The old name may be deprecated in the future, but no specific timeline is planned.