1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 08:12:21 +01:00
Files
archived-php-src/ext/hash/tests/HashContext_debugInfo.phpt
Tim Düsterhus ac54d1c039 hash: Add simple HashContext::__debugInfo() implementation (#14644)
* hash: Add simply HashContext::__debugInfo() implementation

* NEWS/UPGRADING
2024-06-27 19:29:37 +02:00

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"
}