mt_srand()

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


No Output is generated.

Example 1

mt_srand(time());  
echo mt_rand();


Subscribe

* indicates required
Subscribe to plus2net

    plus2net.com




    Post your comments , suggestion , error , requirements etc here .




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