Comment pourrais-je appeler une fonction dans un autre fichier?

Par exemple, j'ai un fichier error-status.php qui comprend une fonction:

function validateHostName($hostName)
{
    if ((strpbrk($hostName,'`~!@#$^&*()=+.[ ]{}\\|;:\'",<>/?')==FALSE) && !ctype_digit($hostName) && eregi("^([a-z0-9-]+)$",$hostName) && ereg("^[^-]",$hostName) && ereg("[^-]$",$hostName))
    {
        return true;
    }
    else
    {
        return false;
    }
}

...

Comment puis-je appeler cette fonction à partir d'un autre fichier PHP après avoir invoqué require_once?

require_once('error-status.php');

source d'informationauteur Harsh