domain — Validate Domain Names, allows all of the following combinations
The first character and last character of any part (split by .) cannot be a - or _ and the last part (.com or .co.uk) can only contain a-z
void — No return information has been documented for this function.
<?php //Set the variables for the example $strDomain = 'foo'; //Call the function domain with the example vars Twist::Validate() -> domain($strDomain);