1--TEST-- 2Test error operation of openssl_random_pseudo_bytes() 3--EXTENSIONS-- 4openssl 5--FILE-- 6<?php 7try { 8 openssl_random_pseudo_bytes(0); 9} catch (Error $e) { 10 echo $e->getMessage().PHP_EOL; 11} 12?> 13--EXPECT-- 14openssl_random_pseudo_bytes(): Argument #1 ($length) must be greater than 0 15