function phid_get_type($phid)Phorge Technical Documentation (PHIDs)
function phid_get_type($phid)
Phorge 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) |