scottmac                                 Fri, 06 Nov 2009 09:02:52 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=290368

Log:
Fix a typo

Changed paths:
    U   php/php-src/branches/PHP_5_3/ext/standard/string.c
    U   php/php-src/trunk/ext/standard/string.c

Modified: php/php-src/branches/PHP_5_3/ext/standard/string.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/standard/string.c  2009-11-06 06:57:07 UTC 
(rev 290367)
+++ php/php-src/branches/PHP_5_3/ext/standard/string.c  2009-11-06 09:02:52 UTC 
(rev 290368)
@@ -3918,7 +3918,7 @@
        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') {

Modified: php/php-src/trunk/ext/standard/string.c
===================================================================
--- php/php-src/trunk/ext/standard/string.c     2009-11-06 06:57:07 UTC (rev 
290367)
+++ php/php-src/trunk/ext/standard/string.c     2009-11-06 09:02:52 UTC (rev 
290368)
@@ -5830,7 +5830,7 @@

        p = str;

-       /* 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 */
        if (str_type == IS_UNICODE) {
                end.u = p.u + str_len;

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to