Garbage Collection

Table of Contents

This section explains the merits of the new Garbage Collection (also known as GC) mechanism that is part of PHP 5.3.

Коментарии

Memory cleanup for long-running scripts.

<?php
gc_enable
(); // Enable Garbage Collector
var_dump(gc_enabled()); // true
var_dump(gc_collect_cycles()); // # of elements cleaned up
gc_disable(); // Disable Garbage Collector
?>
2011-10-30 16:58:14
http://php5.kiev.ua/manual/ru/features.gc.html

    Поддержать сайт на родительском проекте КГБ