Cannot to reference to self within a closure under php 5.3?