0) { $shift = (int)array_shift($first); $endShift = (int)array_shift($end); if ($endShift == $shift) { continue; } if ($endShift < $shift) { return true; } else { return false; } } return false; } var_dump(version('1.4.4','1.4.3'));