Re: Error message format change

From: Date: Thu, 23 Nov 2000 01:51:54 +0000
Subject: Re: Error message format change
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-38956@lists.php.net to get a copy of this message
See your php.ini file. You will find error_prepend_string and error_append_string configuration directives you can use to completely customize what should come before and after a PHP error message. -Rasmus On Thu, 23 Nov 2000, Tyson Lloyd Thwaites wrote: > Hi dev, > > I have a request to change the way PHP prints its error messages. > It would be nice to have "PHP: " written before *every output from > PHP. That way we can tell if it's PHP or the webserver or the database > server telling us things. > > ie change main.c:398 from: > "<br>\n<b>%s</b>: %s in <b>%s</b> on line > <b>%d</b><br>\n" > : "\n%s: %s in %s on line %d\n"; > to: > "<br>\n<b>PHP: %s</b>: %s in <b>%s</b> on line > <b>%d</b><br>\n" > : "\nPHP: %s: %s in %s on line %d\n"; > > regards > Tyson LT >

« previous php.dev (#38956) next »