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

array_uintersect should be varargs #5585

Closed
jwatzman opened this issue Jul 4, 2015 · 1 comment
Closed

array_uintersect should be varargs #5585

jwatzman opened this issue Jul 4, 2015 · 1 comment

Comments

@jwatzman
Copy link
Contributor

jwatzman commented Jul 4, 2015

Something is up in the way we handle array_uintersect with more than two arrays -- according to http://php.net/manual/en/function.array-uintersect.php I think it should be varargs, and we don't appear to be treating it that way, or something like that?

Repro: http://3v4l.org/RuBE1

Originally reported at http://stackoverflow.com/questions/31215963/invalid-operand-type-was-used-array-uintersect-expects-arrays

@meghana1811 meghana1811 self-assigned this Jul 16, 2015
hhvm-bot pushed a commit that referenced this issue Jul 20, 2015
Summary: The vararg handling for all array_* functions did not pass the varargs array arguments. This fixes it.
Fix for github issue #5585

Reviewed By: @jwatzman

Differential Revision: D2250682
@jwatzman
Copy link
Contributor Author

Fixed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants