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