1
0
mirror of https://github.com/php/php-src.git synced 2026-04-28 10:43:30 +02:00

- MFH Drop dead code

This commit is contained in:
Marcus Boerger
2008-12-06 15:16:00 +00:00
parent dcdd18e01e
commit dbee447265
-11
View File
@@ -25,17 +25,6 @@
#include "php_spl.h"
#include "zend_interfaces.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);