summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2006-08-10 17:46:43 +0000
committerIlia Alshanetsky <iliaa@php.net>2006-08-10 17:46:43 +0000
commitbcef2d4a3343cb5c27589a88fa52a8e686d6e81b (patch)
tree30a6d50c9d62b75ba356df05404410830157537f
parent4ab6f610814337fc344bef7d29d21c180dc8fe3f (diff)
downloadphp-git-bcef2d4a3343cb5c27589a88fa52a8e686d6e81b.tar.gz
Fixed typo
-rw-r--r--ext/standard/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index bb4de137ef..c0c3a7dcfe 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -1621,7 +1621,7 @@ PHP_FUNCTION(stripos)
php_strtolower(haystack_dup, haystack_len);
if (Z_TYPE_P(needle) == IS_STRING) {
- if ((Z_STRLEN_P(needle) == 0 || Z_STRLEN_P(needle) > haystack_len) {
+ if (Z_STRLEN_P(needle) == 0 || Z_STRLEN_P(needle) > haystack_len) {
efree(haystack_dup);
RETURN_FALSE;
}