diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-07 17:40:07 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2006-10-07 17:40:07 +0000 |
commit | 485935e1f1a3a773260cda0b7ac3f3800dca990e (patch) | |
tree | ef8a8069f948d96bc86787cc30ea8fe1e3239837 /phpBB/includes/utf | |
parent | a7df65168c3380e50fbe84d8f9e74274b1cc74ff (diff) | |
download | forums-485935e1f1a3a773260cda0b7ac3f3800dca990e.tar forums-485935e1f1a3a773260cda0b7ac3f3800dca990e.tar.gz forums-485935e1f1a3a773260cda0b7ac3f3800dca990e.tar.bz2 forums-485935e1f1a3a773260cda0b7ac3f3800dca990e.tar.xz forums-485935e1f1a3a773260cda0b7ac3f3800dca990e.zip |
he braces style is deprecated as of PHP 6
git-svn-id: file:///svn/phpbb/trunk@6459 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/utf')
-rw-r--r-- | phpBB/includes/utf/utf_tools.php | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php index 9cd4026c2c..930595b36f 100644 --- a/phpBB/includes/utf/utf_tools.php +++ b/phpBB/includes/utf/utf_tools.php @@ -7,9 +7,9 @@ * @license http://opensource.org/licenses/gpl-license.php GNU Public License * * @todo make sure the replacements are called correctly -* already done: strtolower, strtoupper, ucfirst, str_split, strrpos, strlen (hopefully!), strpos +* already done: strtolower, strtoupper, ucfirst, str_split, strrpos, strlen (hopefully!), strpos, substr * remaining: clean_username, htmlentities (no longer needed for internal data?), htmlspecialchars (using charset), html_entity_decode (own function to reverse htmlspecialchars and not htmlentities) -* substr, strspn, chr, ord +* strspn, chr, ord */ /** @@ -226,13 +226,7 @@ if (extension_loaded('mbstring')) /** * UTF-8 aware alternative to substr - * Return part of a string given character offset (and optionally length) - * - * @author Harry Fuecks - * @param string - * @param integer number of UTF-8 characters offset (from left) - * @param integer (optional) length in UTF-8 characters from offset - * @return mixed string or FALSE if failure + * @ignore */ function utf8_substr($str, $offset, $length = null) { @@ -248,9 +242,7 @@ if (extension_loaded('mbstring')) /** * Return the length (in characters) of a UTF-8 string - * - * @param string $text UTF-8 string - * @return integer Length (in chars) of given string + * @ignore */ function utf8_strlen($text) { |