hdf_write_file — Write an HDF data set to disk.
bool hdf_write_file( | hdf, | |
path) ; |
resource hdf
;string path
;
Saves the HDF resource hdf
to the file path
. Returns true on success, false on failure.
Example 5. hdf_write_file
example
<?php $hdf = hdf_init(); hdf_set_value($hdf, 'data.node', 'my value'); hdf_write_file($hdf, '/path/to/data.hdf'); ?>