finishing global PHP