com php-src: typo: Zend/zend_object_handlers.c

From: Date: Thu, 13 Sep 2018 05:49:21 +0000
Subject: com php-src: typo: Zend/zend_object_handlers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-103090@lists.php.net to get a copy of this message
Commit: eb4148e02dbff5b52016a5d583c690ffcbe46cad Author: Dmitry Stogov <dmitry@zend.com> Thu, 13 Sep 2018 08:49:21 +0300 Parents: 3008ad1a49210e4604522a987cbdd27a5a0a2c42 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=eb4148e02dbff5b52016a5d583c690ffcbe46cad Log: typo Changed paths: M Zend/zend_object_handlers.c Diff: diff --git a/Zend/zend_object_handlers..c b/Zend/zend_object_handlers.c index 1c5c525..fa5f38e 100644 --- a/Zend/zend_object_handlers.c +++ b/Zend/zend_object_handlers.c @@ -337,7 +337,7 @@ static zend_always_inline zend_bool is_derived_class(zend_class_entry *child_cla } /* }}} */ -static zend_never_inline int is_protected_comaptible_scope(zend_class_entry *ce, zend_class_entry *scope) /* {{{ */ +static zend_never_inline int is_protected_compatible_scope(zend_class_entry *ce, zend_class_entry *scope) /* {{{ */ { return scope && (is_derived_class(ce, scope) || is_derived_class(scope, ce)); @@ -362,7 +362,7 @@ static zend_always_inline int zend_verify_property_access(zend_property_info *pr return 0; } else { ZEND_ASSERT(property_info->flags & ZEND_ACC_PROTECTED); - return is_protected_comaptible_scope(property_info->ce, scope); + return is_protected_compatible_scope(property_info->ce, scope); } } } @@ -447,7 +447,7 @@ wrong: } } else { ZEND_ASSERT(flags & ZEND_ACC_PROTECTED); - if (UNEXPECTED(!is_protected_comaptible_scope(property_info->ce, scope))) { + if (UNEXPECTED(!is_protected_compatible_scope(property_info->ce, scope))) { goto wrong; } } @@ -522,7 +522,7 @@ wrong: } } else { ZEND_ASSERT(flags & ZEND_ACC_PROTECTED); - if (UNEXPECTED(!is_protected_comaptible_scope(property_info->ce, scope))) { + if (UNEXPECTED(!is_protected_compatible_scope(property_info->ce, scope))) { goto wrong; } } @@ -1466,7 +1466,7 @@ ZEND_API ZEND_COLD zend_bool zend_std_unset_static_property(zend_class_entry *ce } /* }}} */ -static ZEND_COLD zend_never_inline void zend_incompatibe_constructor(zend_function *constructor, zend_class_entry *scope) /* {{{ */ +static ZEND_COLD zend_never_inline void zend_incompatible_constructor(zend_function *constructor, zend_class_entry *scope) /* {{{ */ { if (scope) { zend_throw_error(NULL, "Call to %s %s::%s() from context '%s'", zend_visibility_string(constructor->common.fn_flags), ZSTR_VAL(constructor->common.scope->name), ZSTR_VAL(constructor->common.function_name), ZSTR_VAL(scope->name)); @@ -1493,7 +1493,7 @@ ZEND_API zend_function *zend_std_get_constructor(zend_object *zobj) /* {{{ */ */ if (UNEXPECTED(constructor->common.scope != scope)) { incompatible: - zend_incompatibe_constructor(constructor, scope); + zend_incompatible_constructor(constructor, scope); constructor = NULL; } } else {

« previous php.cvs (#103090) next »