HomePhabricator

Ensure that Group2 array is 0-indexed and contiguous
99b7725f1a3cUnpublished

Tags
None
Referenced Files
None
Subscribers
None

Unpublished Commit · Learn More

Publishing Disabled: All publishing is disabled for this repository.

Description

Ensure that Group2 array is 0-indexed and contiguous

array_diff() creates a sparse array. This means that it may not start
with index 0 if element 0 of the origin array is present in any other
array that it is diff'ed against. Running array_values() on the
resulting array will ensure that the result is a contiguous array
instead of a sparse array.

Details

Provenance
bd808Authored on Nov 28 2017, 9:08 PM
Parents
R1958:b7bdabc4c5ca: Initial commit
Branches
Unknown
Tags
Unknown
ChangeId
None