I've having an issue comparing two unix timestamps in php.

```
$time_now = mktime();
if($auction->time_end > $time_now){
   //true
}
else{
   //false
}

```

$auction->time\_end is 1362579127 and set as int from db.
$time\_now is for example 1364129253 and is set as int, both were checking with var\_dump and are indeed returning both as ints.

The problem is that PHP seems to think 1362579127 is greater than 1364129253 (returns false) which it is not.. am I missing something here? If I input the values into the if statement it works as it should but when it's comparing the object it doesn't seem to like it.