Created
July 14, 2012 01:27
-
-
Save jsjohns/3108695 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In all test cases, error_reporting=-1. "Fatal Error" messages sent to stdout due to display_errors=1 setting. "PHP Fatal Error" messages sent to stderr due to log_errors=1/error_log=stderr setting. | |
Case #1: display_errors=1, log_errors=1 | |
PHP Fatal error: Call to undefined function undefined() in /root/error.php on line 7 | |
PHP Stack trace: | |
PHP 1. {main}() /root/error.php:0 | |
Fatal error: Call to undefined function undefined() in /root/error.php on line 7 | |
Call Stack: | |
0.0004 222832 1. {main}() /root/error.php:0 | |
--- | |
Case #2: display_errors=1, log_errors=0 | |
Fatal error: Call to undefined function undefined() in /root/error.php on line 7 | |
Call Stack: | |
0.0006 222832 1. {main}() /root/error.php:0 | |
--- | |
Case #3: display_errors=0, log_errors=1 | |
PHP Fatal error: Call to undefined function undefined() in /root/error.php on line 7 | |
PHP Stack trace: | |
PHP 1. {main}() /root/error.php:0 | |
--- | |
Case #4: display_errors=0, log_errors=0 | |
(nothing output) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment