PHP code example of maymeow / random
1. Go to this page and download the library: Download maymeow/random library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
maymeow / random example snippets
use AsunaY\XorShift;
// As seed you can use any integer number.
$xs = new XorShift($seed);
$xs->getRand();
$xs->getRand(15,50);