From: Marcus Boerger Date: Sat, 6 Dec 2008 15:14:46 +0000 (+0000) Subject: - Drop dead code X-Git-Tag: php-5.4.0alpha1~191^2~4877 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d106e3a33e39597f758497f489bb4477b917ef62;p=php - Drop dead code --- diff --git a/ext/spl/spl_engine.h b/ext/spl/spl_engine.h index 9ed5e8a867..4e93497cca 100755 --- a/ext/spl/spl_engine.h +++ b/ext/spl/spl_engine.h @@ -26,17 +26,6 @@ #include "zend_interfaces.h" #include "zend_unicode.h" -/* {{{ zend_class_entry */ -static inline zend_class_entry *spl_get_class_entry(zval *obj TSRMLS_DC) -{ - if (obj && Z_TYPE_P(obj) == IS_OBJECT && Z_OBJ_HT_P(obj)->get_class_entry) { - return Z_OBJ_HT_P(obj)->get_class_entry(obj TSRMLS_CC); - } else { - return NULL; - } -} -/* }}} */ - PHPAPI void spl_instantiate(zend_class_entry *pce, zval **object, int alloc TSRMLS_DC); PHPAPI long spl_offset_convert_to_long(zval *offset TSRMLS_DC);