resource: Freeing resources

Freeing resources

Thanks to the reference-counting system being part of Zend Engine, a resource with no more references to it is detected automatically, and it is freed by the garbage collector.

Related concepts

Freeing resources

resource: Freeing resources — Structure map

Clickable & Draggable!

resource: Freeing resources — Related pages: