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