Name

hdf_get_node — Return the HDF data set node at a named location, creating it if it does not exist.

Description

resource hdf_get_node(hdf,  
 name); 
resource  hdf;
string  name;

Returns an HDF resource representing node name in the parent HDF resource hdf.

[Note]Note

This is similar to hdf_get_obj except that it creates the node name if it does not exist.

Example 9. hdf_get_node example

			
<?php
$hdf = hdf_init();
print_r(hdf_get_node($hdf, 'data.node'));
?>