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
gc(1l) - centos
set_magic_quotes_runtime(3) - php
svn_add(3) - php
readahead-collector(8) - hpux
get_magic_quotes_runtime(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
New Code Tags (Syntax Highlighting)
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch