From: Antony Dovgal Date: Wed, 14 Dec 2005 00:54:04 +0000 (+0000) Subject: fix spelling and #35665 X-Git-Tag: RELEASE_1_0_4~390 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=41fad0ad778cb07f0f933bd4df18258dee8d894a;p=php fix spelling and #35665 --- 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; }