Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix saving of -1 index from keys column in array_column function #317

Closed
wants to merge 1 commit into from

Conversation

bukka
Copy link
Member

@bukka bukka commented Apr 1, 2013

Current implementation of array_column function does not allow saving of -1 index as a key. See http://3v4l.org/fT1th (the next index is used in place of -1). This patch fixes the problem. I also added new test array_column_minus_one_index.phpt . All other tests for arrray_column passed as well.

@php-pulls
Copy link

Comment on behalf of yohgaki at php.net:

Fix was committed. Thank you.

@php-pulls php-pulls closed this Jul 19, 2013
@kaplanlior
Copy link
Contributor

@yohgaki - I didn't see the merge in the git repo, could you verify it's merged?

@bukka
Copy link
Member Author

bukka commented Jul 23, 2013

That's correct. I have requested the closing of this ticket because the fix has been already implemented when the function implementation has been rewritten (think that it was commit from Sara...) ;)

@bukka bukka deleted the array_column_minus_one_index branch July 23, 2013 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants