php 5.5 to php 5.3 bug ($this in closer) removed