Y
Hacker News
new
|
ask
|
show
|
jobs
by
rererereferred
68 days ago
If the closure doesn't use $this (an instance of the current class) then it doesn't need to store a reference to it, which also skips the bookkeeping from the garbage collector.