user_error

(PHP4 >= 4.0RC2)

user_error --  Generates a user-level error/warning/notice message

Description

void user_error (string error_msg [, int error_type])

This is an alias for the function trigger_error().

See also error_reporting(), set_error_handler(), restore_error_handler(), and trigger_error()