hash_copy

PHP 5 >= 5.3.0, PHP 7, PHP 8
hash_copy - Copy hashing context
Manual
Code Examples

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.

Example of hash_copy

Show all examples for hash_copy

PHP Version:


Function hash_copy:

HASH Message Digest Framework Functions

Most used PHP functions