function phid_get_type($phid)Phabricator Technical Documentation (PHIDs)
function phid_get_type($phid)
Phabricator Technical Documentation (PHIDs)
Look up the type of a PHID. Returns PhabricatorPHIDConstants::PHID_TYPE_UNKNOWN if it fails to look up the type
Parameters
phid | $phid | Anything. |
Return
string | A value from PhabricatorPHIDConstants (ideally) |