Fine tuned the order of adding request variables.
duplicate value's string for the SAPI filter

reported by sesser; tyrael, do you take care of the bug/NEWS?
Merge branch 'PHP-5.6'

* PHP-5.6:
  duplicate value's string for the SAPI filter
  Fine tuned the order of adding request variables.