PYTHON gc_enabled

is this article helpful?
|
Python replacement for PHP's gc_enabled [ edit | history ]
import gc
gc.isenabled()

PHP gc_enabled

PHP original manual for gc_enabled [ show | php.net ]

gc_enabled

(PHP 5 >= 5.3.0)

gc_enabledReturns status of the circular reference collector

Description

bool gc_enabled ( void )
Warning

This function is currently not documented; only its argument list is available.

Returns status of the circular reference collector.

Parameters

This function has no parameters.

Return Values

Returns TRUE if the garbage collector is enabled, FALSE otherwise.