mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3056: Return value mismatch between code under HHVM and Zend #3793
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (Mar 28, 2014).
Originally assigned to: @Ocramius on GitHub.
Jira issue originally created by user andybursh:
The following code produces differing results under Zend and HHVM runtimes.
Under Zend,
$resultsis a 1-dimensional array containing N elements:[1, 2, 3].Under HHVM,
$resultsis a 2-dimensional array containing a single array, containing N elements:[ [1,3,3] ]@doctrinebot commented on GitHub (Mar 28, 2014):
Comment created by stof:
I suggest reporting it to the HHVM team as a bug
@doctrinebot commented on GitHub (Mar 28, 2014):
Comment created by @ocramius:
Also: why are you using an array cast and not
iterator*to*array?@doctrinebot commented on GitHub (Mar 28, 2014):
Comment created by stof:
@Marco this should be equivalent. Casting a Traversable to array should traverse it. If HHVM does not do it, it is a bug.
@doctrinebot commented on GitHub (Mar 28, 2014):
Comment created by @ocramius:
[~stof] not really: http://3v4l.org/Z3t4t
@doctrinebot commented on GitHub (Aug 18, 2014):
Comment created by @ocramius:
Resolving as invalid: this seems to be a misuse in my opinion.
@doctrinebot commented on GitHub (Aug 18, 2014):
Issue was closed with resolution "Invalid"