Email extension check

Great if you want to make sure an email ends in a certain extension.

Usage

var_dump(check_ext('student@school.edu', '.edu')); // bool(true)
var_dump(check_ext('hobo@bums.com', '.edu')); // bool(false)

 

Comments

Posted on 02.09.2010 09:19 by guest

Test