1--TEST--
2Test normal operation of random_bytes()
3--FILE--
4<?php
5//-=-=-=-
6
7var_dump(strlen(bin2hex(random_bytes(16))));
8
9var_dump(is_string(random_bytes(10)));
10
11var_dump(is_string(random_bytes(257)));
12
13?>
14--EXPECT--
15int(32)
16bool(true)
17bool(true)
18