Fixed php close.