Phalanger
Phalanger copied to clipboard
anon functions inside class need $this passed by default
As does in php.
I did work around this by simply creating a var outside the scope called $that, and passed it through using(). As far as I'm concerned, this is a good as closed as well.