summaryrefslogtreecommitdiff
path: root/main/main.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2008-02-23 17:06:22 +0000
committerMarcus Boerger <helly@php.net>2008-02-23 17:06:22 +0000
commitd3e50265643fc59c2b5c99ef4ac79e758a6d9839 (patch)
treed8e4f0da41e03fd9e59892e12836ed81130a65fe /main/main.c
parent6c5041979c9b0f9f05ac92427da53b60f6f6e7c3 (diff)
downloadphp-git-d3e50265643fc59c2b5c99ef4ac79e758a6d9839.tar.gz
- MFH Add E_DEPRECATED (Lars Strojny, Felipe Pena, Marcus)
[DOC] Finally added deprecation messages
Diffstat (limited to 'main/main.c')
-rw-r--r--main/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/main.c b/main/main.c
index c2d911dc97..60e488d0d3 100644
--- a/main/main.c
+++ b/main/main.c
@@ -843,6 +843,7 @@ static void php_error_cb(int type, const char *error_filename, const uint error_
/* fatal errors are real errors and cannot be made exceptions */
break;
case E_STRICT:
+ case E_DEPRECATED:
/* for the sake of BC to old damaged code */
break;
case E_NOTICE:
@@ -892,6 +893,9 @@ static void php_error_cb(int type, const char *error_filename, const uint error_
case E_STRICT:
error_type_str = "Strict Standards";
break;
+ case E_DEPRECATED:
+ error_type_str = "Deprecated";
+ break;
default:
error_type_str = "Unknown error";
break;