1--TEST--
2openssl_random_pseudo_bytes() tests
3--SKIPIF--
4<?php if (!extension_loaded("openssl")) print "skip"; ?>
5--FILE--
6<?php
7for ($i = 1; $i < 10; $i++) {
8    var_dump(bin2hex(openssl_random_pseudo_bytes($i)));
9}
10?>
11--EXPECTF--
12string(2) "%s"
13string(4) "%s"
14string(6) "%s"
15string(8) "%s"
16string(10) "%s"
17string(12) "%s"
18string(14) "%s"
19string(16) "%s"
20string(18) "%s"
21