Home
My Account
About us
Products
Support Services
Buy online
Downloads
Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
PHP Manual
Hash
Installing/Configuring
Predefined Constants
HashContext
Hash Functions
Predefined Constants
HashContext::__construct
Hash
Last updated: Mon, 26 Oct 2026
The HashContext class
(PHP 7 >= 7.2.0, PHP 8)
Introduction
Class synopsis
final
class
HashContext
{
/* Methods */
private
function
__construct
()
public
function
__debugInfo
():
array
public
function
__serialize
():
array
public
function
__unserialize
(
array
$data
):
void
}
Table of Contents
HashContext::__construct
— Private constructor to disallow direct instantiation
HashContext::__debugInfo
— Returns debugging information about the hashing context
HashContext::__serialize
— Serializes the HashContext object
HashContext::__unserialize
— Deserializes the data parameter into a HashContext object
Predefined Constants
HashContext::__construct
Hash
Last updated: Mon, 26 Oct 2026