diff options
| author | Ilia Alshanetsky <iliaa@php.net> | 2002-09-26 18:56:11 +0000 |
|---|---|---|
| committer | Ilia Alshanetsky <iliaa@php.net> | 2002-09-26 18:56:11 +0000 |
| commit | ee7b8f906d9ccaa09467c319b64fdbd2fd617d8b (patch) | |
| tree | 8cd82fb85d3753e67b3cc2125a2fa0ee3a271fd5 /Zend/zend_operators.c | |
| parent | b5d4b5496d0c61283af576903a47b6cb5d04f1b3 (diff) | |
| download | php-git-ee7b8f906d9ccaa09467c319b64fdbd2fd617d8b.tar.gz | |
MFZE1
Diffstat (limited to 'Zend/zend_operators.c')
| -rw-r--r-- | Zend/zend_operators.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Zend/zend_operators.c b/Zend/zend_operators.c index ddb4eb1ab5..629e017f09 100644 --- a/Zend/zend_operators.c +++ b/Zend/zend_operators.c @@ -1581,6 +1581,17 @@ ZEND_API void zend_str_tolower(char *str, unsigned int length) } } +ZEND_API void zend_str_tolower_nlc(char *str, unsigned int length) +{ + register char *p=str, *end=p+length; + + while (p<end) { + if (*p >= 'A' && *p <= 'Z') { + *p = (*p)+32; + } + p++; + } +} ZEND_API int zend_binary_strcmp(char *s1, uint len1, char *s2, uint len2) { |
