import re


def remove_pii_phone(text: str, replacement: str = '--PHONE--') -> str:
    """
    Pass a string and return the text string with phone numbers removed

    Parameters
    ----------
    text : str
        The text to replace phone numbers in
    replacement : str
        The text to replace phone numbers with

    Returns
    -------
    replacement_text: str
        A text string with the phone numbers removed and
        replaced with specified text

    Example
    -------
    text_with_phone = "Give me a call at 109-876-5432"

    print(remove_pii_phone(text_with_phone))

    > Give me a call at --PHONE--
    """
    phone_regex_pattern = re.compile(
        # core components of a phone number
        r"(?:^|(?<=[^\w)]))(\+?1[ .-]?)?(\(?\d{3}\)?[ .-]?)?(\d{3}[ .-]?\d{4})"
        # extensions, etc.
        r"(\s?(?:ext\.?|[#x-])\s?\d{2,6})?(?:$|(?=\W))",
        flags=re.UNICODE | re.IGNORECASE)

    replacement_text = re.sub(phone_regex_pattern, replacement, text)
    return replacement_text