Page MenuHomeClusterLabs Projects

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