/
usr
/
local
/
lsws
/
phpbuild
/
php-8.0.7
/
ext
/
hash
/
tests
/
File Upload :
llllll
Current File: //usr/local/lsws/phpbuild/php-8.0.7/ext/hash/tests/hash_error.phpt
--TEST-- Hash: hash() function : error conditions --FILE-- <?php echo "*** Testing hash() : error conditions ***\n"; echo "\n-- Testing hash() function with invalid hash algorithm --\n"; try { hash('foo', ''); } catch (ValueError $exception) { echo $exception->getMessage() . "\n"; } ?> --EXPECT-- *** Testing hash() : error conditions *** -- Testing hash() function with invalid hash algorithm -- hash(): Argument #1 ($algo) must be a valid hashing algorithm
Copyright ©2k19 -
Hexid
|
Tex7ure