just_now.php returns "Just now" most of the times when time interval is smaller than ~20 sec
amoment() returns "A moment ago" about 80% of the times if time interval is ~20 sec < t < ~140 sec
time_ago returns "About X seconds/minutes/... ago"
How the main function could look like in the end... with some loop for testing purposes