diff options
-rw-r--r-- | ext/standard/string.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c index 9408e6b019..b6ba60dc5c 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -3918,7 +3918,7 @@ PHP_FUNCTION(nl2br) tmp = str; end = str + str_len; - /* it is really faster to scan twice and allocate mem once insted scanning once + /* it is really faster to scan twice and allocate mem once instead of scanning once and constantly reallocing */ while (tmp < end) { if (*tmp == '\r') { |