Fix handling of double keys in array_column

Also fix resource test to not localize __FILE__ to cwd.
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.