Fix #62479: Some chars not parsed in passwords

This fixes an issue where backslashes and spaces aren't
correctly parsed for passwords.
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix #62479: Some chars not parsed in passwords
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fix #62479: Some chars not parsed in passwords