mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
7485978339
This is an automated migration of most SKIPIF extension_loaded checks.
21 lines
326 B
PHP
21 lines
326 B
PHP
--TEST--
|
|
openssl_random_pseudo_bytes() tests
|
|
--EXTENSIONS--
|
|
openssl
|
|
--FILE--
|
|
<?php
|
|
for ($i = 1; $i < 10; $i++) {
|
|
var_dump(bin2hex(openssl_random_pseudo_bytes($i)));
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
string(2) "%s"
|
|
string(4) "%s"
|
|
string(6) "%s"
|
|
string(8) "%s"
|
|
string(10) "%s"
|
|
string(12) "%s"
|
|
string(14) "%s"
|
|
string(16) "%s"
|
|
string(18) "%s"
|