- 7.15. Opt_Xml_Node class
7.15.1. dispose() - 7.15. Opt_Xml_Node class
« Previous - 7.15.2. getParent()
Next »
7.15.1. dispose()
| Status | public |
|---|---|
| Reference | void dispose() |
| Versions | since 2.0-beta2 |
The PHP garbage collector does not recognize cycles between objects, causing problems with freeing the XML tree memory with ordinary unset(). In order to destroy the tree, you should use this very method:
$tree->dispose(); unset($tree);
- 7.15.1. dispose()
7.15. Opt_Xml_Node class - « Previous
7.15. Opt_Xml_Node class - Next »
7.15.2. getParent()