PHP Classes

Random Number Generator: Generate random number of a given length

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2018-01-28 (1 month ago) RSS 2.0 feedNot yet rated by the usersTotal: 160 This week: 2All time: 8,416 This week: 283Up
Version License PHP version Categories
randomnumber 1.0.0The PHP License5PHP 5, Text processing, Math
Description Author

This is a simple class that can generate random number of a given length.

It takes as an optional parameter the length of the number to generate in terms of the number of digits.

The class generates a number with the specified length and returns a string with the generated random number without leading zeros.

Name: Narmail Sandhu <contact>
Classes: 1 package by
Country: India India
Age: ???
All time rank: 4011277 in India India
Week rank: 273 Up28 in India India Up

  Files folder image Files  
File Role Description
Plain text file RandomNumber.php Class Class file

 Version Control Unique User Downloads Download Rankings  
This week:2
All time:8,416
This week:283Up