Name

cs_destroy — Clean up and deallocate a CS parse tree.

Description

void cs_destroy(cs);
resource cs;

Frees memory resources associated with the CS resource cs.

[Note]Note

The variable representing cs must not be used in any more operations after having passed it to this function!

Example 21. cs_destroy example

			
<?php
$hdf = hdf_init();
$cs = cs_init($hdf);

hdf_destroy($hdf);
cs_destroy($cs);
?>