Get the reference count of an object in PHP?

后端 未结 5 2276
终归单人心
终归单人心 2021-01-01 18:26

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

5条回答
  •  甜味超标
    2021-01-01 19:09

    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

提交回复
热议问题