k2hpx_print_attr_information
Prints the attribute information
Description
bool k2hpx_print_attr_information ( mixed $handle_res [, mixed $output ] )
Prints the attribute information.
Parameters
- handle_res
Specifies the k2hash (
.k2h
) file handle that k2hpx_open returns. - output
Specifies a file stream of data to be written.
Return Values
Returns true on success or false on failure.
Examples
- Example 1 - Prints the attribute information
<?php
$handle = k2hpx_open_mem();
$fp = fopen("/tmp/k2hpx_print_attr_information.log", 'w');
k2hpx_print_attr_information($handle, $fp);
fclose($fp);
k2hpx_close($handle);
?>
The above example will output:
K2HASH attribute libraries: K2H ATTR BUILTIN