From: Andrei Zmievski Date: Tue, 8 Aug 2006 17:36:20 +0000 (+0000) Subject: Should be slightly faster to use U16_NEXT here. X-Git-Tag: RELEASE_1_0_0RC1~2032 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=520655608a80c4e8470416a5724c7cefa85d4ef4;p=php Should be slightly faster to use U16_NEXT here. --- diff --git a/Zend/zend_unicode.h b/Zend/zend_unicode.h index 65bc8499f2..f956929342 100644 --- a/Zend/zend_unicode.h +++ b/Zend/zend_unicode.h @@ -106,7 +106,7 @@ static inline UChar32 zend_get_codepoint_at(UChar *str, int length, int n) if (n > 0) { U16_FWD_N(str, offset, length, n); } - U16_GET(str, 0, offset, length, c); + U16_NEXT(str, offset, length, c); return c; }