P
P
PO6OT2015-04-10 20:45:04
PHP
PO6OT, 2015-04-10 20:45:04

What numbers to write in error_reporting in .htaccess?

What numbers to write in error_reporting in .htaccess to display errors:
E_ERROR (1), E_PARSE (4), E_WARNING (2), E_CORE_ERROR (16), E_CORE_WARNING (32), E_COMPILE_ERROR (64), E_COMPILE_WARNING (128), E_RECOVERABLE_ERROR (4096 )
php_value error_reporting 1|2|4|16|32|64|128|4096
is that correct?
When added, it turned out 4343

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
SagePtr, 2015-04-10
@woonem

These are flags, they are added with the help of an inter-bit OR. Or you can just add if they are all powers of two and don't repeat.

M
Max, 2015-04-10
@AloneCoder

Yes, that's right
. Isn't it easier to just write -1?

I
IceJOKER, 2015-04-10
@IceJOKER

php_value error_reporting 1|2|4|16|32|64|128|4096
is that correct? - WRITE AND CHECK, what a stupid question??

F
FanatPHP, 2015-04-10
@FanatPHP

Clear.
You can put an end to this rural fool.
If earlier his fantasies could be attributed to pubertal hyperactivity, but here there are no options. The boy deliberately writes shit code, not out of ignorance, but quite consciously.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question