mirror of
https://github.com/php/php-src.git
synced 2024-11-28 12:26:37 +08:00
Fix Warning
This commit is contained in:
parent
e2e5c69f47
commit
60a4a48e4e
@ -1958,7 +1958,7 @@ static zend_bool do_inherit_constant_check(HashTable *child_constants_table, zva
|
||||
|
||||
ZEND_API void zend_do_implement_interface(zend_class_entry *ce, zend_class_entry *iface TSRMLS_DC)
|
||||
{
|
||||
zend_hash_merge_ex(&ce->constants_table, &iface->constants_table, (copy_ctor_func_t) zval_add_ref, sizeof(zval *), do_inherit_constant_check, iface);
|
||||
zend_hash_merge_ex(&ce->constants_table, &iface->constants_table, (copy_ctor_func_t) zval_add_ref, sizeof(zval *), (merge_checker_func_t) do_inherit_constant_check, iface);
|
||||
zend_hash_merge_ex(&ce->function_table, &iface->function_table, (copy_ctor_func_t) do_inherit_method, sizeof(zend_function), (merge_checker_func_t) do_inherit_method_check, ce);
|
||||
|
||||
do_implement_interface(ce, iface TSRMLS_CC);
|
||||
|
Loading…
Reference in New Issue
Block a user