laruence/taint

proto string implode(string $separator, array $args)

xinhaiz opened this issue · 1 comments

PHP_FUNCTION(taint_implode) : #L2377
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "zz", &op1, &op2) == FAILURE) {
ZVAL_FALSE(return_value);
WRONG_PARAM_COUNT;
}

"zz" 和 php src "implode" 不太一样

implode can take 1 parameter, this message from php taint is incorrect:

"implode() expects exactly 2 parameters, 1 given in"