I realize the knee-jerk response to this question is that \"you dont.\", but hear me out.
Basically I am running on an active-record system on a SQL, and in order to
Yes, you can definitely get the refcount from PHP. Unfortunately, the refcount isn't easily gotten for it doesn't have an accessor built into PHP. That's ok, because we have PREG!
Source: PHP.net