Enter your email address to subscribe to this blog and receive notifications of new posts by email.
Join 1 other subscriber
CREATING A FUNCTION TO DISPLAY MASKED NUMBER
To mask part of the number, I will create a function for that purpose.
$mask_number = str_repeat("*", strlen($number)-4) . substr($number, -4);
This function will output