Fix handling of double keys in array_column

Also fix resource test to not localize __FILE__ to cwd.
Fixed stream_socket_pair() on Windows x64 and

improved errorhandling in the socketpair() implementation.
Merge branch 'PHP-5.3' into PHP-5.4

* PHP-5.3:
  Fixed stream_socket_pair() on Windows x64 and
updated NEWS
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  updated NEWS
  Fixed stream_socket_pair() on Windows x64 and
updated NEWS
Merge branch 'PHP-5.5'

* PHP-5.5:
  updated NEWS
  updated NEWS
  Fixed stream_socket_pair() on Windows x64 and
Merge branch 'PHP-5.5'

* PHP-5.5:
  Fix handling of double keys in array_column
Harden array_column_basic.phpt against resource renumbering.

We don't care what resource number it is, so long as there's a
stream resource returned.
Merge branch 'PHP-5.5'

* PHP-5.5:
  Harden array_column_basic.phpt against resource renumbering.
Allow array_column() to take -1 as a valid value in third param

Also do some cleanup and simplification to make this code more
readable in the long term.
Merge branch 'PHP-5.5'

* PHP-5.5:
  Allow array_column() to take -1 as a valid value in third param
array_column() - Use entire subject array when NULL passed for second param.

This starts to look like array_values(), except that you can reindex the arrays
using the third parameter.
Merge branch 'PHP-5.5'

* PHP-5.5:
  array_column() - Use entire subject array when NULL passed for second param.
(re)allow WBMP detection with system libgd
provide getbmi and skipheader not exported functions in gd_compat.
enable WebP with system libgd when available
Merge branch 'PHP-5.5'

* PHP-5.5:
  enable WebP with system libgd when available
  (re)allow WBMP detection with system libgd provide getbmi and skipheader not exported functions in gd_compat.
fix copy/paste in error message
Merge branch 'PHP-5.5'

* PHP-5.5:
  fix copy/paste in error message