Example that shows the effect of scream
Introduction
Affecting PHP's Behaviour
PHP Manual
Weak References
Introduction
Installing/Configuring
Requirements
Installation
Resource Types
Weakref
— The Weakref class
Weakref::acquire
— Acquires a strong reference on that object
Weakref::__construct
— Constructs a new weak reference
Weakref::get
— Returns the object pointed to by the weak reference
Weakref::release
— Releases a previously acquired reference
Weakref::valid
— Checks whether the object referenced still exists
Example that shows the effect of scream
Introduction
Affecting PHP's Behaviour
PHP Manual