This makes an implementation a little cleaner in an upcoming workboards diff.
This is like array_keys($x) === array_keys($y), but we get a slightly more useful error message, and we don't care about order.
Differential D20268
Add "assert_same_keys()" to "libphutil/" epriestley on Mar 11 2019, 4:44 AM. Authored by Tags None Referenced Files
Subscribers None
Details This makes an implementation a little cleaner in an upcoming workboards diff. This is like array_keys($x) === array_keys($y), but we get a slightly more useful error message, and we don't care about order. Added and ran unit tests.
Diff Detail
Event Timeline
|