We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a542241 commit af26f3aCopy full SHA for af26f3a
ext/standard/string.c
@@ -4171,7 +4171,7 @@ PHP_FUNCTION(str_repeat)
4171
/* Initialize the result string */
4172
result_len = Z_STRLEN_PP(input_str) * Z_LVAL_PP(mult);
4173
if (result_len < 1 || result_len > 2147483647) {
4174
- 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");
4175
RETURN_FALSE;
4176
}
4177
result = (char *)emalloc(result_len + 1);
0 commit comments