rfc:error_backtraces
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
rfc:error_backtraces [2020/05/29 16:37] – title maxsem | rfc:error_backtraces [2022/04/17 18:30] (current) – Move to inactive ilutov | ||
---|---|---|---|
Line 3: | Line 3: | ||
* Date: 2020-05-25 | * Date: 2020-05-25 | ||
* Author: Max Semenik, maxsem.wiki@gmail.com | * Author: Max Semenik, maxsem.wiki@gmail.com | ||
- | * Status: | + | * Status: |
* First Published at: https:// | * First Published at: https:// | ||
Line 43: | Line 43: | ||
</ | </ | ||
- | ==== Should there be an INI setting? ==== | + | **Configuration**: |
- | My current work-in-progress implementation introduces a new INI setting, '' | + | * 0 - no backtraces |
- | + | * positive | |
- | This, however, is something I'd like to discuss before going to voting. Heck, traces are always generated for exceptions and nobody moans it's slow. | + | * negative value - no limit |
+ | By default it would be on in development settings but off in production. | ||
===== Backward Incompatible Changes ===== | ===== Backward Incompatible Changes ===== | ||
- | Everything will behave exactly as before with backtraces disabled, while turning them on would introduce a few minor changes to how errors are represented. Should not be a problem. | + | * In the current proposed implementation, |
+ | * From the userspace POV, everything will behave exactly as before with backtraces disabled, while turning them on would introduce a few minor changes to how errors are represented. | ||
===== Proposed PHP Version(s) ===== | ===== Proposed PHP Version(s) ===== | ||
Line 73: | Line 75: | ||
===== Patches and Tests ===== | ===== Patches and Tests ===== | ||
- | * WIP patch: | + | * WIP patch: |
===== References ===== | ===== References ===== |
rfc/error_backtraces.1590770261.txt.gz · Last modified: 2020/05/29 16:37 by maxsem