PHP 5.4 supports $this with closures.