if ((stat($target))[9] < (stat($source))[9]) { ... do work ... }