summaryrefslogtreecommitdiff
path: root/main/php_globals.h
diff options
context:
space:
mode:
authorJani Taskinen <jani@php.net>2007-07-24 14:21:36 +0000
committerJani Taskinen <jani@php.net>2007-07-24 14:21:36 +0000
commit335cac3c6a0e577d9c448289b6f318f73582554c (patch)
tree9684f50dd8c142d422d22eaff5aa727922789a4d /main/php_globals.h
parent1bc2880c46d60d83f2d2c5f551ff81af132ea7e3 (diff)
downloadphp-git-335cac3c6a0e577d9c448289b6f318f73582554c.tar.gz
MFH:- Changed "display_errors" php.ini option to accept "stderr" as value which
MFH: makes the error messages to be outputted to STDERR instead of STDOUT with MFH: CGI and CLI SAPIs (FR #22839).
Diffstat (limited to 'main/php_globals.h')
-rw-r--r--main/php_globals.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/php_globals.h b/main/php_globals.h
index 928211d552..6c796d2c76 100644
--- a/main/php_globals.h
+++ b/main/php_globals.h
@@ -33,7 +33,11 @@ extern PHPAPI int core_globals_id;
extern ZEND_API struct _php_core_globals core_globals;
#endif
+/* Error display modes */
+#define PHP_DISPLAY_ERRORS_STDOUT 1
+#define PHP_DISPLAY_ERRORS_STDERR 2
+/* Track vars */
#define TRACK_VARS_POST 0
#define TRACK_VARS_GET 1
#define TRACK_VARS_COOKIE 2