Time Ago Using PHP

In my first post I want to present you all a simple PHP time age function. This function can calculate Linux timestamps and returns how much time ago it occurred. As we saw other social networking sites (like Facebook, Twitter, YouTube). If we post something on these sites we can see how much time ago it was posted.Like one minute ago, 2 hour ago, 3month ago or even some years ago. I have implement a simple function that can do exactly like this job. The input form of this function is integer as timestamps( time() ) and it will return string.