summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorOlivier Hill <ohill@php.net>2008-07-31 14:20:40 +0000
committerOlivier Hill <ohill@php.net>2008-07-31 14:20:40 +0000
commitd247a23188056fc8a1652bbcbaefef7cf13e9801 (patch)
treea1428d0af7b77f3d49baa8ceb9e6daee7f55cfcb /ext
parentc71b745655487cf44f654903786b20dd3b8f0c26 (diff)
downloadphp-git-d247a23188056fc8a1652bbcbaefef7cf13e9801.tar.gz
Fix regression issue
Diffstat (limited to 'ext')
-rw-r--r--ext/standard/string.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index 3d6dabfe7a..5db9e85495 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -4104,10 +4104,6 @@ PHP_FUNCTION(parse_str)
return;
}
- if (!arglen) {
- return;
- }
-
res = estrndup(arg, arglen);
if (arrayArg == NULL) {