]> granicus.if.org Git - php/commitdiff
- Drop dead code
authorMarcus Boerger <helly@php.net>
Sat, 4 Mar 2006 16:32:59 +0000 (16:32 +0000)
committerMarcus Boerger <helly@php.net>
Sat, 4 Mar 2006 16:32:59 +0000 (16:32 +0000)
ext/spl/spl_engine.c
ext/spl/spl_engine.h

index 2da47f7d3406c200c2ac74254b87ecf544c3699e..5e09f2b495c58cd63034333081bd10feccfa472d 100755 (executable)
@@ -43,20 +43,6 @@ void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC)
 }
 /* }}} */
 
-/* {{{ spl_is_instance_of */
-int spl_is_instance_of(zval **obj, zend_class_entry *ce TSRMLS_DC)
-{
-       /* Ensure everything needed is available before checking for the type.
-        */
-       zend_class_entry *instance_ce;
-
-       if (obj && (instance_ce = spl_get_class_entry(*obj TSRMLS_CC)) != NULL) {
-               return instanceof_function(instance_ce, ce TSRMLS_CC);
-       }
-       return 0;
-}
-/* }}} */
-
 /*
  * Local variables:
  * tab-width: 4
index cfa6d3c14bff849ac616488062b747d1b309b271..81bc6cf8e4a03bf80aa2ac4fe3a4d8e1909cfc00 100755 (executable)
@@ -60,8 +60,6 @@ static inline int spl_instantiate_arg_ex2(zend_class_entry *pce, zval **retval,
 }
 /* }}} */
 
-int spl_is_instance_of(zval **obj, zend_class_entry *ce TSRMLS_DC);
-
 #endif /* SPL_ENGINE_H */
 
 /*