What is the difference between trigger_error() and user_error()?
There really is no difference between trigger_error() and user_error()—in fact, the latter is simply an alias for the former!