Renamed function. end() is already a php function...