code: public static function str_pad($input, $length, $padStr = ' ', $type = STR_PAD_RIGHT)
  	{
  		return utf8_str_pad($input, $length, $padStr, $type);
  	}
docs: UTF-8 aware alternative to str_pad()
  
  Pad a string to a certain length with another string.
  $padStr may contain multi-byte characters.
  
  @param   string   $input   The input string.
  @param   integer  $length  If the value is negative, less than, or equal to the length of the input string, no padding takes place.
  @param   string   $padStr  The string may be truncated if the number of padding characters can't be evenly divided by the string's length.
  @param   integer  $type    The type of padding to apply
  
  @return  string
  
  @link    https://www.php.net/str_pad
  @since   1.4.0