If you use xDebug, you can get the visibility of all the objects that are currently being used at runtime.
I use NetBeans as my dev environment, and xDebug is built into it, so I can execute my code and view objects at any time while the code is running.
I donβt know if there is the answer you are looking for, but this is a very useful way to see exactly how it goes with your code.
source share