Fixed using  in anonymouse function for php 5.3