Homec4science

Implement `array_fuse()`

Authored by epriestley <git@epriestley.com> on Jan 26 2013, 02:06.

Description

Implement array_fuse()

Summary: We've been bitten by the behavior of array_combine() on empty arrays in PHP < 5.4 several times recently. Implement an alternative for array_combine(x, x).

Test Plan: Unit tests.

Reviewers: btrahan, chad, vrana

Reviewed By: btrahan

CC: aran

Differential Revision: https://secure.phabricator.com/D4657

Details

Committed
epriestley <git@epriestley.com>Jan 26 2013, 02:06
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUf68ff0cdb5c0: Make pht() return PhutilSafeHTML when passed PhutilSafeHTML?
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHUa8b619f395de: Implement `array_fuse()` (authored by epriestley <git@epriestley.com>).Jan 26 2013, 02:06