random_bytes to generate cryptographically secure random bytes
$length : Length of the random string returned as bytes.
Generates cryptographically secure pseudo-random bytes which can be used as Salts, keys etc.
Available in PHP 7
Output ( Refresh this page to to see how the random number changes )
String Functionshow to change all the letters to upper case
nl2br() To add Line break
Subscribe to our YouTube Channel here
This article is written by plus2net.com team.