Page MenuHomePhabricator

Allow objects implementing `ArrayAccess` to the passed to `idx`
AbandonedPublic

Authored by joshuaspence on Jan 28 2016, 11:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Aug 19, 2:53 AM
Unknown Object (File)
Fri, Aug 14, 12:05 PM
Unknown Object (File)
Jun 14 2026, 9:28 AM
Unknown Object (File)
Jun 1 2026, 12:26 PM
Unknown Object (File)
Mar 12 2026, 8:43 AM
Unknown Object (File)
Mar 6 2026, 5:37 PM
Unknown Object (File)
Mar 4 2026, 9:48 AM
Unknown Object (File)
Dec 21 2025, 6:33 AM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Summary

This allows idx to work with CaseInsensitiveArray, for example.

Test Plan

Added a test case.

Diff Detail

Repository
rPHU libphutil
Branch
master
Lint
Lint Errors
SeverityLocationCodeMessage
Errorsrc/utils/utils.php:1194XHP45PHP Compatibility
Errorsrc/utils/utils.php:1194XHP45PHP Compatibility
Unit
Tests Passed
Build Status
Buildable 10376
Build 12659: Run Core Tests
Build 12658: arc lint + arc unit

Event Timeline

joshuaspence retitled this revision from to Allow objects implementing `ArrayAccess` to the passed to `idx`.
joshuaspence updated this object.
joshuaspence edited the test plan for this revision. (Show Details)
joshuaspence added a reviewer: epriestley.

Not actively working on this.