random_int

Supported Versions: PHP 7, PHP 8
Get a cryptographically secure, uniformly selected integer
<?php random_int(int $min, int $max): int
<?php });



test('pass using pipes', function () {

    expect('<input type="hidden" name="_token" value="'.random_int(1, 999).'" />')

        ->toMatchSnapshot();

});