Easy Tutorial
❮ Func Simplexml Count Func Ftp Nlist ❯

PHP FILTER_SANITIZE_EMAIL Filter



Definition and Usage

The FILTER_SANITIZE_EMAIL filter removes all illegal characters from a string for an e-mail address.

This filter allows all letters, digits, and the following characters: $-_.+!*'{}|^~[]`#%/?@&=


Example

The output of the code is as follows:


❮ Func Simplexml Count Func Ftp Nlist ❯