summaryrefslogtreecommitdiff
path: root/main/php_globals.h
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-05-07 01:02:23 +0000
committerMarcus Boerger <helly@php.net>2003-05-07 01:02:23 +0000
commit3fc4a32743c9981cbe7bbc596b8f7454f9b3417c (patch)
tree95d3f1635ef6dc276dcbc948561260cd32d2d1cf /main/php_globals.h
parent764eaa5b8b6a28ba603002872497464e3c351061 (diff)
downloadphp-git-3fc4a32743c9981cbe7bbc596b8f7454f9b3417c.tar.gz
Infrastructure to catch warnings and throw tehm as errors autmatically
Diffstat (limited to 'main/php_globals.h')
-rw-r--r--main/php_globals.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/main/php_globals.h b/main/php_globals.h
index 8cecb96447..29c5103413 100644
--- a/main/php_globals.h
+++ b/main/php_globals.h
@@ -140,6 +140,12 @@ struct _php_core_globals {
zend_bool allow_url_fopen;
zend_bool always_populate_raw_post_data;
zend_bool report_zend_debug;
+
+ char *last_error_message;
+ char *last_error_file;
+ int last_error_lineno;
+ error_handling_t error_handling;
+ zend_class_entry *exception_class;
};