How to Generate a 16 Digit Random Numbers Using PHP?

Get 16 Digits Random Number Using PHP, 16 Digits Number Generate in PHP Code, How to Find 16 Digits Random Number with PHP, Create 16 Digits Random Number Using 16

Hello Friends Today I will tell you through this Tutorial how you can generate the random number of 16 digits through PHP Code.

You create a file called a sixteendigitrandom.php and then copy and paste this PHP Code into sixteendigitrandom.php file. Then after that you open it on the browser. You get the number of 16 digits Your value will change as often as you refresh this browser.

<?php 
function generateCode($limit){
$code = '';
for($i = 0; $i < $limit; $i++) { $code .= mt_rand(0, 9); }
return $code;
}
echo generateCode(16);
?>