PHP 5.3 bug, using $this in closure.