Skip to content
This repository has been archived by the owner on Jan 8, 2020. It is now read-only.

fixing http query parameters #6231

Closed
wants to merge 6 commits into from

Conversation

gmolson
Copy link

@gmolson gmolson commented May 6, 2014

Zend\Stdlib\Parameters is not converted to PHP array in HHVM

@Ocramius
Copy link
Member

Ocramius commented May 6, 2014

@gmriggs can you write a test for this?

@EvanDotPro
Copy link
Member

Did a little digging... Here are some relevant issues / discussions:

facebook/hhvm#1221

facebook/hhvm#2018

https://github.com/facebook/hhvm/blob/master/hphp/doc/inconsistencies#L90

It seems this is a known inconsistency. It's probably safest to just make the change in this PR, but we should look for other places we call PHP built-in functions that take arrays, and make sure we convert values to arrays prior to calling those functions.

@gmolson
Copy link
Author

gmolson commented Jun 11, 2014

Confirmed, this is more of an HHVM issue

@Ocramius
Copy link
Member

@gmolson this is not going to be fixed in hhvm, so we can fix it on our side.

In order to do that though, I need a failing test case...

@Ocramius
Copy link
Member

I wrote the test and merged manually after a rebase at bf3bc38

Thanks @gmolson

@Ocramius Ocramius mentioned this pull request Nov 14, 2014
16 tasks
Ocramius added a commit that referenced this pull request Nov 14, 2014
gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-http that referenced this pull request May 15, 2015
gianarb pushed a commit to zendframework/zend-cache that referenced this pull request May 15, 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.

6 participants