summaryrefslogtreecommitdiff
path: root/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2014-07-09 00:15:27 +0400
committerDmitry Stogov <dmitry@zend.com>2014-07-09 00:15:27 +0400
commitca414c69040c66642b38d9f3aebe343265adc3f5 (patch)
tree96ae8e52381a3b52b38bc22579381ae70fca22c5 /ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
parentb5e36ec236bf00f9c897691f3d02694438bfc2ba (diff)
downloadphp-git-ca414c69040c66642b38d9f3aebe343265adc3f5.tar.gz
Typo
Diffstat (limited to 'ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp')
-rw-r--r--ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
index c13a432605..e171cf76ab 100644
--- a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
+++ b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp
@@ -42,7 +42,7 @@ static void _php_intlrbbi_constructor_body(INTERNAL_FUNCTION_PARAMETERS)
&rules, &rules_len, &compiled) == FAILURE) {
intl_error_set(NULL, U_ILLEGAL_ARGUMENT_ERROR,
"rbbi_create_instance: bad arguments", 0 TSRMLS_CC);
- Z_OBJ_P(return_value) == NULL;
+ Z_OBJ_P(return_value) = NULL;
return;
}
@@ -72,7 +72,7 @@ static void _php_intlrbbi_constructor_body(INTERNAL_FUNCTION_PARAMETERS)
intl_error_set_custom_msg(NULL, msg, 1 TSRMLS_CC);
efree(msg);
delete rbbi;
- Z_OBJ_P(return_value) == NULL;
+ Z_OBJ_P(return_value) = NULL;
return;
}
} else { // compiled
@@ -81,13 +81,13 @@ static void _php_intlrbbi_constructor_body(INTERNAL_FUNCTION_PARAMETERS)
if (U_FAILURE(status)) {
intl_error_set(NULL, status, "rbbi_create_instance: unable to "
"create instance from compiled rules", 0 TSRMLS_CC);
- Z_OBJ_P(return_value) == NULL;
+ Z_OBJ_P(return_value) = NULL;
return;
}
#else
intl_error_set(NULL, U_UNSUPPORTED_ERROR, "rbbi_create_instance: "
"compiled rules require ICU >= 4.8", 0 TSRMLS_CC);
- Z_OBJ_P(return_value) == NULL;
+ Z_OBJ_P(return_value) = NULL;
return;
#endif
}