summaryrefslogtreecommitdiff
path: root/ext/standard/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/string.c')
-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) {