protected static function strPad($input, $padLen, $padStr = ' ', $padType = STR_PAD_RIGHT){
    $diff = strlen($input) - static::strLen($input);
    return str_pad($input, $padLen + $diff, $padStr, $padType);
  }
protected static function strPad($input, $padLen, $padStr = ' ', $padType = STR_PAD_RIGHT){
    $diff = strlen($input) - static::strLen($input);
    return str_pad($input, $padLen + $diff, $padStr, $padType);
  }
protected static function strPad ( $ input , $ padLen , $ padStr = ' ' , $ padType = STR_PAD_RIGHT ) { $ diff = strlen ( $ input ) - static :: strLen ( $ input ) ; return str_pad ( $ input , $ padLen + $ diff , $ padStr , $ padType ) ; }
Safe str_pad alternative

@param   string $string
@param   int $padLen
@param   string $padStr
@param   int $padType
@return  string
Safe str_pad alternative