1--TEST-- 2Bug #78391: Assertion failure in openssl_random_pseudo_bytes 3--SKIPIF-- 4<?php if (!extension_loaded("openssl")) print "skip openssl extension not loaded"; ?> 5--FILE-- 6<?php 7 8$isStrongCrypto = false; 9var_dump(strlen(openssl_random_pseudo_bytes(16, $isStrongCrypto))); 10var_dump($isStrongCrypto); 11 12?> 13--EXPECT-- 14int(16) 15bool(true) 16