diff options
author | Marcus Boerger <helly@php.net> | 2008-02-23 17:06:22 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2008-02-23 17:06:22 +0000 |
commit | d3e50265643fc59c2b5c99ef4ac79e758a6d9839 (patch) | |
tree | d8e4f0da41e03fd9e59892e12836ed81130a65fe /main/main.c | |
parent | 6c5041979c9b0f9f05ac92427da53b60f6f6e7c3 (diff) | |
download | php-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.c | 4 |
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; |