From: Stanislav Malyshev Date: Wed, 17 Mar 2004 11:10:37 +0000 (+0000) Subject: fix typo X-Git-Tag: php-5.0.0RC1RC2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c18c5be1e0f3dd7b27aa721fa27ce6b844f3f5e3;p=php fix typo --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index c92b78fbdb..13f0b7bb7c 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -1948,7 +1948,7 @@ ZEND_API void zend_do_inherit_interfaces(zend_class_entry *ce, zend_class_entry } -static void inherit_sttaic_prop(zval **p) +static void inherit_static_prop(zval **p) { (*p)->refcount++; (*p)->is_ref = 1; @@ -1971,7 +1971,7 @@ void zend_do_inheritance(zend_class_entry *ce, zend_class_entry *parent_ce TSRML /* Inherit properties */ zend_hash_merge(&ce->default_properties, &parent_ce->default_properties, (void (*)(void *)) zval_add_ref, NULL, sizeof(zval *), 0); - zend_hash_merge(ce->static_members, parent_ce->static_members, (void (*)(void *)) inherit_sttaic_prop, NULL, sizeof(zval *), 0); + zend_hash_merge(ce->static_members, parent_ce->static_members, (void (*)(void *)) inherit_static_prop, NULL, sizeof(zval *), 0); zend_hash_merge_ex(&ce->properties_info, &parent_ce->properties_info, (copy_ctor_func_t) (ce->type & ZEND_INTERNAL_CLASS ? zend_duplicate_property_info_internal : zend_duplicate_property_info), sizeof(zend_property_info), (merge_checker_func_t) do_inherit_property_access_check, ce); zend_hash_merge(&ce->constants_table, &parent_ce->constants_table, (void (*)(void *)) zval_add_ref, NULL, sizeof(zval *), 0);