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 /Zend/zend_execute_API.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 'Zend/zend_execute_API.c')
-rw-r--r-- | Zend/zend_execute_API.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_execute_API.c b/Zend/zend_execute_API.c index 8b5b08be59..d7373d86cd 100644 --- a/Zend/zend_execute_API.c +++ b/Zend/zend_execute_API.c @@ -937,7 +937,7 @@ int zend_call_function(zend_fcall_info *fci, zend_fcall_info_cache *fci_cache TS zend_error_noreturn(E_ERROR, "Cannot call abstract method %s::%s()", EX(function_state).function->common.scope->name, EX(function_state).function->common.function_name); } if (EX(function_state).function->common.fn_flags & ZEND_ACC_DEPRECATED) { - zend_error(E_STRICT, "Function %s%s%s() is deprecated", + zend_error(E_DEPRECATED, "Function %v%s%v() is deprecated", EX(function_state).function->common.scope ? EX(function_state).function->common.scope->name : "", EX(function_state).function->common.scope ? "::" : "", EX(function_state).function->common.function_name); |