what is refcount in php?
A PHP variable is stored in a container called a "zval". A zval container contains, besides the variable's type and value, two additional bits of information. ... This second piece of additional information, called "refcount", contains how many variable names (also called symbols) point to this one zval container.