Skip to content

Commit

Permalink
Temporary unit test debug.
Browse files Browse the repository at this point in the history
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
  • Loading branch information
Tithugues committed Aug 18, 2014
1 parent 6b537f9 commit de98fdf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions libraries/StringMB.class.php
Expand Up @@ -52,11 +52,7 @@ public function substr($string, $start, $length = 2147483647)
return false;
}

if ('1024k' === $string || '1kb' === $string || '8m' === $string) {
var_dump($string, $start, $length);
}

return mb_substr($string, $start, $length);
return mb_substr($string, $start, $length, 'utf-8');
}

/**
Expand Down

0 comments on commit de98fdf

Please sign in to comment.