Fix second callback for php 5.2 no anon functions