From: Felipe Pena Date: Wed, 25 Jun 2008 22:35:31 +0000 (+0000) Subject: - Removed E_DEPRECATED on is_a() X-Git-Tag: php-5.3.0alpha1~596 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8bc2719d7516ca9e62df0d88f6951772b18335f;p=php - Removed E_DEPRECATED on is_a() (http://marc.info/?l=php-internals&m=121390431523970&w=2) [doc] --- diff --git a/Zend/zend_builtin_functions.c b/Zend/zend_builtin_functions.c index 046f7b0990..11383cadac 100644 --- a/Zend/zend_builtin_functions.c +++ b/Zend/zend_builtin_functions.c @@ -722,7 +722,6 @@ 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_DEPRECATED, "is_a(): Deprecated. Please use the instanceof operator"); is_a_impl(INTERNAL_FUNCTION_PARAM_PASSTHRU, 0); } /* }}} */