loading...

re: All the changes that come with PHP 7.4 VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Weak references is related to garbage collector basically, there are good examples of how to use it in nodejs and java. It helps the garbage collec...
 

Yup, I got the concept but couldn't find a real-life example. I guess I never had to deal with such type of functionality in any project, like holding big graphs of object relations.

Funny enough, Ocramius, a Doctrine core maintainer, voted against weak references feature 🤷‍♂️

Thanks for the comment!

code of conduct - report abuse