Hacker News new | past | comments | ask | show | jobs | submit login

It seems that it's fixed in PHP5.4; $this is the object in which you defined the closure by default, and you can re-bind it to any other object.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: