Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Seeds the Mersenne Twister Random Number Generator
<?php mt_srand(?int $seed = null, int $mode = MT_RAND_MT19937): void
<?php     public function testFakeUsesLocale()

    {

        mt_srand(12345, MT_RAND_PHP);




        $this->assertSame('Arkansas', fake()->state());
<?php         ]);



        config(['app.faker_locale' => 'en_AU']);

        mt_srand(4, MT_RAND_PHP);




        $this->assertSame('Australian Capital Territory', fake()->state());