Define var before passing it as argument
Define var before passing it as argument

Static code analysis tools don't like passing in variables
that have not been defined yet.

Personally I think using output arguments at all is bad style,
though I did not touch this due to it being part of a public interface.

bzikarsky/gelf-php,proximedia/gelf-php,verschoof/gelf-php