Page MenuHomePhabricator

Work around a bug in PHP 5.3-ish with abstract methods in interfaces
ClosedPublic

Authored by epriestley on Oct 25 2013, 10:56 PM.
Tags
None
Referenced Files
F19154908: D7408.diff
Thu, Dec 11, 8:30 PM
F18941473: D7408.id.diff
Nov 11 2025, 10:11 AM
F18911642: D7408.id.diff
Nov 9 2025, 4:10 AM
F18779090: D7408.diff
Oct 11 2025, 11:56 AM
F18630275: D7408.diff
Sep 16 2025, 11:14 AM
F18620208: D7408.diff
Sep 15 2025, 4:31 AM
F18099264: D7408.id16694.diff
Aug 9 2025, 3:17 AM
F18097038: D7408.id.diff
Aug 8 2025, 10:48 AM
Subscribers

Details

Summary

@chad is hitting an issue described in P961, which I think is this bug in PHP: https://bugs.php.net/bug.php?id=43200

Work around it by defining a "PHIDInterface" and having both "Flaggable" and "Policy" extend it, so that there is only one getPHID() declaration.

Test Plan

shrug~

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped