Fixed pg_version() crash with older postgresql
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed pg_version() crash with older postgresql
Always initialize pg_version() result array elements to prevent failed test with older postgresql servers. Add missing client_encoding element.
Merge branch 'PHP-5.6'

* PHP-5.6:
  Always initialize pg_version() result array elements to prevent failed test with older postgresql servers. Add missing client_encoding element.