Try something like `replaceQueryParameters('?, ?', array(1, null))` or `replaceQueryParameters('?, ?', array(null, 1))` and you'll see :)