1st implementation PHP shorten