1, self::STATUS_COMMENTED => 2, self::STATUS_BLOCKING => 3, self::STATUS_ACCEPTED_OLDER => 4, self::STATUS_REJECTED_OLDER => 4, self::STATUS_ACCEPTED => 5, self::STATUS_REJECTED => 5, self::STATUS_RESIGNED => 5, ); return idx($map, $constant, 0); } }