Method Pike.identify_cycle()
- Method
identify_cycle
array(mixed) identify_cycle(mixedx)- Description
Identify reference cycles in Pike datastructures.
This function is typically used to identify why certain datastructures need the gc to run to be freed.
- Parameter
x Value that is believed to be involved in a reference cycle.
- Returns
zeroReturns
UNDEFINEDifxis not member of a reference cycle.array(mixed)Otherwise returns an array identifying a cycle with
xas the first element, and where the elements refer to each other in order, and the last element refers to the first.