Php Use Variable In Callback Function