Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
gc_enabled - Returns status of the circular reference collector
Вернуться к: PHP опции/Информационные Функции
gc_enabled
(PHP 5 >= 5.3.0)
gc_enabled — Returns status of the circular reference collector
Описание
bool gc_enabled
( void
)
Returns status of the circular reference collector.
Список параметров
У этой функции нет параметров.
Возвращаемые значения
Returns TRUE if the garbage collector is enabled, FALSE otherwise.
Примеры
Пример #1 A gc_enabled() example
<?php
if(gc_enabled()) gc_collect_cycles();
?>
Вернуться к: PHP опции/Информационные Функции