get a "Warning: Wrong parameter count for strstr().." error on this code which is to check if email belongs to specific domains and if so, generate an error message to the user.
$email_vals = array( 'hotmail.com', 'yahoo.com', 'mailinator.com' );
if(in_array(strstr($email) , $email_vals )) {
/* if((strstr($email, "@hotmail.com")) || (strstr($email, "@yahoo.com")) || (strstr($email, "mailinator.com"))) { */
error($langfile['mailnotallowed']);
}