K2hash::cleanCommonAttribute K2hash Class K2hash::create

K2hash::close

Closes the k2hash file

Description

 public bool K2hash::close ([ int $waitms ] )

Closes the k2hash (.k2h) file handle internally opened by K2hash::open and saves the data.

Parameters

Return Values

Returns true on success or false on failure.

Examples

<?php
$k2hash = new K2hash();
$k2hash->openMem();
var_dump($k2hash->close());
?>

The above example will output:

bool(true)

See Also

K2hash::cleanCommonAttribute K2hash Class K2hash::create