Hacker News new | ask | show | jobs
by maxxxxx 3251 days ago
__destruct is not called when the reference count goes to 0? This is one of the (few) features I think PHP does better than C#.
1 comments

And one of the features caused memory leaking in PHP for a decade. .NET has real garbage collection, we can take advantage of it.