PHPCon Poland 2024


(PHP 7 >= 7.4.0, PHP 8)

WeakReference::__constructConstructor that disallows instantiation


public WeakReference::__construct()

This method exists only to disallow instantiation of the WeakReference class. Weak references are to be instantiated with the factory method WeakReference::create().


This function has no parameters.

See Also

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top