mt_srand(): Seeds the Mersenne Twister Random Number Generator

echo mt_rand();
void mt_srand ([ int $seed [, int $mode = MT_RAND_MT19937 ]] )
$seedOptional : Seed used
$moodOptional : MT_RAND_MT19937 or MT_RAND_PHP

No Output is generated.
Math Functions getrandmax(): Getting highest random number max() function
Subscribe to our YouTube Channel here


* indicates required
Subscribe to plus2net

    Post your comments , suggestion , error , requirements etc here

    PHP video Tutorials
    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2024 All rights reserved worldwide Privacy Policy Disclaimer