refs |
Discworld driver help |
refs |
Name
refs() - return the number of references to a data structure
Synopsis
int refs( mixed data );
Description
The number of references to `data' will be returned by refs(). This is useful for deciding whether or not to make a copy of a data structure before returning it.