gc_enabled(3) php man page | unix.com

Man Page: gc_enabled

Operating Environment: php

Section: 3

GC_ENABLED(3)								 1							     GC_ENABLED(3)

gc_enabled - Returns status of the circular reference collector

SYNOPSIS
bool gc_enabled (void )
DESCRIPTION
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.
EXAMPLES
Example #1 A gc_enabled(3) example <?php if(gc_enabled()) gc_collect_cycles(); ?>
SEE ALSO
Garbage Collection. PHP Documentation Group GC_ENABLED(3)
Related Man Pages
set_magic_quotes_runtime(3) - php
ftp_get_option(3) - php
apc_load_constants(3) - php
memory_get_usage(3) - php
win32_set_service_status(3) - php
Similar Topics in the Unix Linux Community
Rules for Homework &amp; Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Please Welcome Nicki Paul to the Moderator Team!