Skip to content

Regression. Nested arrays throws array to string conversion in array_unique() #1561

@Maks3w

Description

@Maks3w

This is a recent regression. This works good in 2.3.2 but not in master

var_dump(array_unique([[]]));
HipHop Notice: Array to string conversion in .... line ..
array(1) {
  [0]=>
  array(0) {
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions