K2hash::close K2hash Class K2hash::disableTransaction

K2hash::create

Creates the k2hash file

Description

 public static bool K2hash::create ( string $filepath [, int $maskbitcnt [, int $cmaskbitcnt [, int $maxelementcnt [, int $pagesize ]]]] )

Creates the k2hash (.k2h) file.

Parameters

Return Values

Returns true on success or false on failure.

Examples

<?php
var_dump(K2hash::create("/tmp/test_k2hash.k2h"));
?>

The above example will output:

bool(true)
K2hash::close K2hash Class K2hash::disableTransaction