Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

PHP FILTER_VALIDATE_EMAIL Filter

PHP FILTER_VALIDATE_EMAIL Filter


PHP Filter Reference Manual Complete PHP Filter Reference Manual


Definition and Usage

The FILTER_VALIDATE_EMAIL filter validates a value as an e-mail address.


Example

The output of the code is shown below:

E-mail is not valid


PHP Filter Reference Manual Complete PHP Filter Reference Manual