Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Conversation

@SammyK
Copy link
Contributor

@SammyK SammyK commented Oct 20, 2015

Fixes #521. :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

useless private function, it just can be array_column($response['headers'], 'value', 'name') ;)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You and your efficient ways. :) Since array_column() is a PHP 5.5 feature, we'll need to wait to add this until PHP SDK v6.0 (which I'm assuming will require PHP 5.5.) :)

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right!! My bad, I forgot that we support 5.4 in v5

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

About v6.0, it can even require at least 5.6 :D

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like the way you think. :)

gfosco added a commit that referenced this pull request Oct 21, 2015
@gfosco gfosco merged commit 6cc4852 into facebookarchive:master Oct 21, 2015
@gfosco
Copy link
Contributor

gfosco commented Oct 21, 2015

👍 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants