0

PHP 隐藏银行卡号 信用卡号

borgel created at5 years ago view count: 2709
report
回复
0
function addMaskCC($number, $maskingCharacter = 'X') {
    return substr($number, 0, 4) . str_repeat($maskingCharacter, strlen($number) - 8) . substr($number, -4);
}
echo addMaskCC("1234024219341234");
5 years ago 回复

Recent search keywords