debug_zval_dump and refcount
<p>Is there any way to get the <em>refcount</em> value reported by <strong>debug_zval_dump</strong> without all the additional information returned by that function; e.g. by an alternative function or some truncation of its output?  I am using the <em>refcount</em> as per the suggested solution to the problem <a href="http://stackoverflow.com/questions/4817562/detecting-whether-a-php-variable-is-a-reference-referenced">Detecting whether a PHP variable is a reference / referenced</a>.  As such, all I require is the reference count.  The structure I am examining is huge so (a) getting the entire structure seems like overkill and (b) I believe I've seen cases where the size has caused problems and bypassing the output buffer (NB: No *chunk_size* had been set for the ob_start).</p>
