summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntony Dovgal <tony2001@php.net>2005-12-14 00:54:04 +0000
committerAntony Dovgal <tony2001@php.net>2005-12-14 00:54:04 +0000
commit41fad0ad778cb07f0f933bd4df18258dee8d894a (patch)
treead5d63c09488302c96567ae594fe8c0b67ee6cae
parentd2339c11e29bd07e71af06db73026084ffed9840 (diff)
downloadphp-git-41fad0ad778cb07f0f933bd4df18258dee8d894a.tar.gz
fix spelling and #35665
-rw-r--r--ext/standard/string.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 601dbc6623..1ab02d80b5 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -5918,7 +5918,7 @@ PHP_FUNCTION(str_repeat)
input_str_len = UBYTES(input_str_chars);
result_len = UBYTES(result_chars);
if ( result_chars < 1 || result_chars > (2147483647/UBYTES(1)) ) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "You may not create strings longer then %ld characters", 2147483647/UBYTES(1));
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "You may not create strings longer than %ld characters", 2147483647/UBYTES(1));
RETURN_FALSE;
}
} else {
@@ -5926,9 +5926,9 @@ PHP_FUNCTION(str_repeat)
result_len = result_chars;
if ( result_chars < 1 || result_chars > 2147483647 ) {
if ( input_str_type == IS_STRING ) {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "You may not create strings longer then 2147483647 characters");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "You may not create strings longer than 2147483647 characters");
} else {
- php_error_docref(NULL TSRMLS_CC, E_WARNING, "You may not create strings longer then 2147483647 bytes");
+ php_error_docref(NULL TSRMLS_CC, E_WARNING, "You may not create strings longer than 2147483647 bytes");
}
RETURN_FALSE;
}