diff options
| author | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-06-25 12:06:31 +0200 |
|---|---|---|
| committer | Gustavo André dos Santos Lopes <cataphract@php.net> | 2012-06-25 12:06:31 +0200 |
| commit | 0df73a85e19d71612ab3a0ba03061123453ff2e3 (patch) | |
| tree | 7bada284de8bc4e3058ed5dadef4237f7fd27f59 | |
| parent | d8b067e66f4b458108821df512090ede623df214 (diff) | |
| download | php-git-0df73a85e19d71612ab3a0ba03061123453ff2e3.tar.gz | |
Fix typo in error message
| -rw-r--r-- | ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp | 2 | ||||
| -rw-r--r-- | ext/intl/tests/breakiter___construct_error.phpt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp index 41ebfe5e0f..f2a39ba022 100644 --- a/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp +++ b/ext/intl/breakiterator/rulebasedbreakiterator_methods.cpp @@ -77,7 +77,7 @@ static void _php_intlgregcal_constructor_body(INTERNAL_FUNCTION_PARAMETERS) rbbi = new RuleBasedBreakIterator((uint8_t*)rules, rules_len, status); if (U_FAILURE(status)) { intl_error_set(NULL, status, "rbbi_create_instance: unable to " - "creaete instance from compiled rules", 0 TSRMLS_CC); + "create instance from compiled rules", 0 TSRMLS_CC); RETURN_NULL(); } #else diff --git a/ext/intl/tests/breakiter___construct_error.phpt b/ext/intl/tests/breakiter___construct_error.phpt index 8d6a7181ed..770f1403c7 100644 --- a/ext/intl/tests/breakiter___construct_error.phpt +++ b/ext/intl/tests/breakiter___construct_error.phpt @@ -34,5 +34,5 @@ Warning: IntlRuleBasedBreakIterator::__construct() expects parameter 2 to be boo Warning: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: bad arguments in %s on line %d NULL -Warning: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: unable to creaete instance from compiled rules in %s on line %d +Warning: IntlRuleBasedBreakIterator::__construct(): rbbi_create_instance: unable to create instance from compiled rules in %s on line %d NULL |
