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
torrus_collector(8) - debian
imagepsslantfont(3) - php
readahead-collector(8) - hpux
memory_get_usage(3) - php
win32_set_service_status(3) - php
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Don Cragun
Denial Of Service Attack Update