com php-src: Fixed typo: Zend/zend_operators.c
| From: | Dmitry Stogov | Date: | Wed, 14 Jan 2015 18:09:06 +0000 |
| Subject: | com php-src: Fixed typo: Zend/zend_operators.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-84092@lists.php.net to get a copy of this message | ||
Commit: 90c20b4c246d129c1b61905d04c0c1d84701d0fc
Author: Dmitry Stogov <dmitry@zend.com> Wed, 14 Jan 2015 21:09:06 +0300
Parents: e0155d536f6e8bd6f34255a7219d10b148e1b8cc
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=90c20b4c246d129c1b61905d04c0c1d84701d0fc
Log:
Fixed typo
Changed paths:
M Zend/zend_operators.c
Diff:
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c
index e726f57..7c51398 100644
--- a/Zend/zend_operators.c
+++ b/Zend/zend_operators.c
@@ -2004,12 +2004,12 @@ ZEND_API int is_smaller_or_equal_function(zval *result, zval *op1, zval
*op2) /*
}
/* }}} */
-static zend_bool instanceof_inerface_only(const zend_class_entry *instance_ce, const
zend_class_entry *ce) /* {{{ */
+static zend_bool instanceof_interface_only(const zend_class_entry *instance_ce, const
zend_class_entry *ce) /* {{{ */
{
uint32_t i;
for (i = 0; i < instance_ce->num_interfaces; i++) {
- if (instanceof_inerface_only(instance_ce->interfaces[i], ce)) {
+ if (instanceof_interface_only(instance_ce->interfaces[i], ce)) {
return 1;
}
}
@@ -2046,7 +2046,7 @@ ZEND_API zend_bool instanceof_function_ex(const zend_class_entry *instance_ce,
c
{
if (ce->ce_flags & ZEND_ACC_INTERFACE) {
if (!interfaces_only) {
- if (instanceof_inerface_only(instance_ce, ce)) {
+ if (instanceof_interface_only(instance_ce, ce)) {
return 1;
}
} else {