79110059

Date: 2024-10-21 12:36:49
Score: 1
Natty:
Report link

If they are unix timestamps, I don't get why you would set them and then get them to compare them then. Just compare them from the get go?

function checker($timestamp1, $timestamp2){
    if (abs($timestamp1 - $timestamp2) <= 5*60 ) { return 1; } else { return 0; }
}
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • High reputation (-1):
Posted by: Wimanicesir