Re: RFE: trigger_error()

From: Date: Mon, 27 Jan 2003 13:12:34 +0000
Subject: Re: RFE: trigger_error()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-93706@lists.php.net to get a copy of this message
On Mon, 27 Jan 2003 13:29:49 +0100 Sebastian Bergmann <sebastian@php.net> wrote: > Right now if one uses trigger_error() to trigger an error the > line number that gets displayed is that of the trigger_error() line. > > Would it be possible to add additional parameters to trigger_error() > to pass a filename and a line number to it? imho this can be easily solved without adding any parametrs to trigger_error(), if you use your own error_handler. you can pass to it any parameters you want, including __FILE__ and __LINE__. -- Wbr, Antony Dovgal aka tony2001 mailto:tony2001@ua.fm http://phpclub.net --- Stand for something or you will fall for nothing.

« previous php.dev (#93706) next »