Going back to Daqings first example
FunctionDomain[(x - 5)/Sqrt[x - 5], x]
(* x >= 5 *)
So 5 is in the domain. But trying it out and actually giving 5 as argument throws errors and returns Indeterminate:
Function[(# - 5)/Sqrt[# - 5]][5]
(* Errors division by zero, complex infinity *)
(* Indeterminate *)
If not a "bug" it is at least a contradiction.