diff options
author | Marcus Boerger <helly@php.net> | 2003-10-23 07:09:04 +0000 |
---|---|---|
committer | Marcus Boerger <helly@php.net> | 2003-10-23 07:09:04 +0000 |
commit | 000e01e5d32d65ded53f6499574f774ecf09f8b6 (patch) | |
tree | 84d52434f4d59b7cdda77c5d8eec0f6fe01803c2 /ext/spl/spl_functions.c | |
parent | 60f78966341242745df12f7c21c962c32ffafbeb (diff) | |
download | php-git-000e01e5d32d65ded53f6499574f774ecf09f8b6.tar.gz |
Update
Diffstat (limited to 'ext/spl/spl_functions.c')
-rwxr-xr-x | ext/spl/spl_functions.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/spl/spl_functions.c b/ext/spl/spl_functions.c index a9234fcf6e..126a6f15e3 100755 --- a/ext/spl/spl_functions.c +++ b/ext/spl/spl_functions.c @@ -72,9 +72,7 @@ void spl_register_parent_ce(zend_class_entry * class_entry, zend_class_entry * p /* {{{ spl_register_implement */ void spl_register_implement(zend_class_entry * class_entry, zend_class_entry * interface_entry TSRMLS_DC) { - class_entry->interfaces = realloc(class_entry->interfaces, sizeof(zend_class_entry*) * (class_entry->num_interfaces+1)); - class_entry->interfaces[class_entry->num_interfaces++] = interface_entry; - zend_do_implement_interface(class_entry, interface_entry); + zend_class_implements(class_entry TSRMLS_CC, 1, interface_entry); } /* }}} */ |