mirror of
https://github.com/php/php-src.git
synced 2026-04-26 09:28:21 +02:00
ac54d1c039
* hash: Add simply HashContext::__debugInfo() implementation * NEWS/UPGRADING
19 lines
270 B
PHP
19 lines
270 B
PHP
--TEST--
|
|
Hash: HashContext::__debugInfo()
|
|
--FILE--
|
|
<?php
|
|
|
|
var_dump(hash_init('sha256'));
|
|
var_dump(hash_init('sha3-512'));
|
|
|
|
?>
|
|
--EXPECTF--
|
|
object(HashContext)#%d (1) {
|
|
["algo"]=>
|
|
string(6) "sha256"
|
|
}
|
|
object(HashContext)#%d (1) {
|
|
["algo"]=>
|
|
string(8) "sha3-512"
|
|
}
|