File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -3062,11 +3062,15 @@ php_errors
30623062log
30633063...
30643064
3065- **type **: ``boolean|int `` **default **: ``%kernel.debug% ``
3065+ **type **: ``boolean|int|array<int, string> `` **default **: ``%kernel.debug% ``
30663066
30673067Use the application logger instead of the PHP logger for logging PHP errors.
3068- When an integer value is used, it also sets the log level. Those integer
3069- values must be the same used in the `error_reporting PHP option `_.
3068+ When an integer value is used, it defines a bitmask of PHP errors that will
3069+ be logged. Those integer values must be the same used in the
3070+ `error_reporting PHP option `_. The default log levels will be used for each
3071+ PHP error.
3072+ When a boolean value is used, ``true `` enables logging for all PHP errors
3073+ while ``false `` disables logging entirely.
30703074
30713075This option also accepts a map of PHP errors to log levels:
30723076
You can’t perform that action at this time.
0 commit comments