Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of /~https://github.com/ClemensSahs/zf2 into hotf…
Browse files Browse the repository at this point in the history
…ix/str_pad_constant
  • Loading branch information
weierophinney committed Apr 5, 2011
14 parents ecae067 + 3ca3f07 + b33fd43 + be37fde + aa8cf19 + c9dfc6a + 0e2cddf + 6bf667a + 81428a9 + f1a4a26 + 0923f5c + 419c0d8 + 43acb82 + 7d17ac8 commit c18beb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/MultiByte.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public static function wordWrap($string, $width = 75, $break = "\n", $cut = fals
* @param string $charset
* @return string
*/
public static function strPad($input, $padLength, $padString = ' ', $padType = \STR\PAD\RIGHT, $charset = 'UTF-8')
public static function strPad($input, $padLength, $padString = ' ', $padType = STR_PAD_RIGHT, $charset = 'UTF-8')
{
$return = '';
$lengthOfPadding = $padLength - iconv_strlen($input, $charset);
Expand Down

0 comments on commit c18beb1

Please sign in to comment.