PxActiveObjectCache: Open source PHP library for caching object instances
This is a PHP library that offers a cache of objects that are in use by the current script. This library
is used to make sure that no two PHP instances of an object are created in a script that both refer to
the same underlying concept. For example, if somewhere in a script there is already an object that
represents user #812, this library can be used to ensure that no other instance for user #812 needs to
be created, but that the same object is fetched from the cache whenever the need arises to call methods
on user #812.
Objects are kept in the cache as long as references to them exist. When the cache exceeds a certain size,
all objects that are no longer referenced are removed from it. Objects to which still references references
exist are kept in the cache, even when the cache size has exceeded it's maximum size.
This library requires that you install an extra PHP extension: the refcount extension. This extension is
used to find out the number of references exist to a certain object.
Require the autoload.php (included in download) before you can use the PxActiveObjectCache library.
