diff --git a/ext/standard/string.c b/ext/standard/string.c index b382cc4d4e4..54343085fe2 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -1755,7 +1755,7 @@ PHP_FUNCTION(nl2br) { pval **str; - if (ARG_COUNT(ht)!=1 || getParametersEx(ht, 1, &str)==FAILURE) { + if (ARG_COUNT(ht)!=1 || getParametersEx(1, &str)==FAILURE) { WRONG_PARAM_COUNT; }