Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Differential
D17864
Diff 42961
src/applications/pholio/xaction/PholioTransactionType.php
Changeset View
key() technically returns internal array state:
(I think until PHP7 foreach could interact with this, too.)
The chance that you'll ever get back a "funky" array is virtually nil, but you can use head_key() (or last_key()) from libphutil to avoid the risk.