]> granicus.if.org Git - php/commitdiff
- Removed E_DEPRECATED on is_a()
authorFelipe Pena <felipe@php.net>
Wed, 25 Jun 2008 22:35:31 +0000 (22:35 +0000)
committerFelipe Pena <felipe@php.net>
Wed, 25 Jun 2008 22:35:31 +0000 (22:35 +0000)
  (http://marc.info/?l=php-internals&m=121390431523970&w=2)
[doc]

Zend/zend_builtin_functions.c

index 046f7b09906fec4b7c9bf09c4a21c1319ba2a928..11383cadacb19ac163960a304bc81e85fd1ff3f9 100644 (file)
@@ -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);
 }
 /* }}} */