Page MenuHomePhabricator

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$phidAnything.
Return
stringA value from PhabricatorPHIDConstants (ideally)