Search
 
SCRIPT & CODE EXAMPLE
 

PHP

mask card php

function ccMasking($number, $maskingCharacter = 'X') {
    return substr($number, 0, 4) . str_repeat($maskingCharacter, strlen($number) - 8) . substr($number, -4);
}
Comment

PREVIOUS NEXT
Code Example
Php :: php 7 count result in database 
Php :: php fwrite new line 
Php :: laravel collection get price sum 
Php :: how to test that function throws an exception in pest 
Php :: Classified script with mobile app laravel 
Php :: sudo apt-get install php7.0-gd 
Php :: explode last element php 
Php :: php extract email address from string 
Php :: checks number only in php 
Php :: laravel check old password 
Php :: migration make 
Php :: send sms by php diafaan 
Php :: laravel display validation errors ajax 
Php :: create array from string with commas php 
Php :: install symfony in terminal 
Php :: Redaxo new Mform all fields - input fields - PHP 8+ - MForm 7.0+ 
Php :: how to run a specific test in laravel 
Php :: phpunit filter 
Php :: wordpress wp_head 
Php :: verificare esistenza file in php 
Php :: array flip php 
Php :: laravel mail success or failure 
Php :: laravel where in subquery 
Php :: php str_pad not working 
Php :: wordpress remove quick edit custom post type 
Php :: smarty if 
Php :: php form examples tutorials with code 
Php :: php see if undefined 
Php :: post json php 
Php :: install php linux nginx command line 
ADD CONTENT
Topic
Content
Source link
Name
7+7 =