PHP user_error April 27, 2012 Pramod T P Its an alias of trigger_error() Example <?php $val=2; if ($val>1)user_error(“A custom error has been triggered”); ?>