Re: display_errors stdout not working in a .htaccess file [message #170622 is a reply to message #170617] |
Thu, 11 November 2010 18:17 |
Thomas Mlynarczyk
Messages: 131 Registered: September 2010
Karma:
|
Senior Member |
|
|
Michael Fesser schrieb:
[Unused bits for error_reporting() levels]
> It's documented in two places:
> | […] consider using a larger value to cover all bit fields from now and
> | well into the future, a numeric value like 2147483647
> And on another page:
> | Passing in the value -1 will show every possible error, even when new
> | levels and constants are added in future PHP versions.
Okay, I had overlooked that. Still, I prefer explicit constants to
"magic numbers".
> So I think it's safe to make use of it if necessary, i.e. in an
> .htaccess file where you can't use PHP's constants.
In such cases, yes.
Greetings,
Thomas
--
Ce n'est pas parce qu'ils sont nombreux à avoir tort qu'ils ont raison!
(Coluche)
|
|
|