add php closure