summaryrefslogtreecommitdiff
path: root/ext/spl/spl_engine.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2006-03-05 17:39:49 +0000
committerMarcus Boerger <helly@php.net>2006-03-05 17:39:49 +0000
commit7dc322754a698bb716ebb6fcdfb8b8842e12d918 (patch)
treeac0576836a87c5a3187b0d817bbe490b5501f5e1 /ext/spl/spl_engine.c
parent41de805a9d43ed9a6dbe351e5ed1aa1f52cb9641 (diff)
downloadphp-git-7dc322754a698bb716ebb6fcdfb8b8842e12d918.tar.gz
- Fix issues with not/double calling of constructors of SPL iterators
- Fix issues with info-class/file-class in SPL directory handling classes - Add SimpleXMLElement::count() - Drop erroneous RecursiveDirectoryIterator::getSubPathInfo() - Drop dead code - Add tests - Update docu
Diffstat (limited to 'ext/spl/spl_engine.c')
-rwxr-xr-xext/spl/spl_engine.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/ext/spl/spl_engine.c b/ext/spl/spl_engine.c
index 2da47f7d34..5e09f2b495 100755
--- a/ext/spl/spl_engine.c
+++ b/ext/spl/spl_engine.c
@@ -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