I'm not fond of the long arguments here. What do you think of squeezing them into 3, something like:

`function add($comment, $node = array(), $user = array())`

you could merge the vars for initialize defaults.

Can you add docblock as well, at least the arguments need to be documented. a small example would be great.