hash_copy
PHP 5 >= 5.3.0, PHP 7, PHP 8
hash_copy - Copy hashing context
Manual
hash_copy(
HashContext$context ): HashContext
Parameters
- context
-
Hashing context returned by hash_init.
Return Values
Returns a copy of Hashing Context.
Changelog
Version | Description |
7.2.0 | Accept and return HashContext instead of resource. |