diff options
| author | Andi Gutmans <andi@php.net> | 2003-11-18 09:25:04 +0000 |
|---|---|---|
| committer | Andi Gutmans <andi@php.net> | 2003-11-18 09:25:04 +0000 |
| commit | c0df450203da09ff2e73f76b739a61ee8a83771d (patch) | |
| tree | ee4dc42b8c4eb4fe108ecdbf9b4dba75e5fdda29 /Zend/zend_builtin_functions.c | |
| parent | 26b57724556af6902c2b6136c35e0ec513896e6f (diff) | |
| download | php-git-c0df450203da09ff2e73f76b739a61ee8a83771d.tar.gz | |
- Add E_STRICT, to be used to warn purists (like Jani :)
Diffstat (limited to 'Zend/zend_builtin_functions.c')
| -rw-r--r-- | Zend/zend_builtin_functions.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index d4839a7168..252ebf4ed2 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -648,6 +648,7 @@ ZEND_FUNCTION(is_subclass_of) Returns true if the object is of this class or has this class as one of its parents */ ZEND_FUNCTION(is_a) { + zend_error(E_STRICT, "is_a(): Deprecated. Please use the instanceof operator"); is_a_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); } /* }}} */ |
