closure problem on php 5.3.3