From c40783e6a24f56818407e824ca847565d222b542 Mon Sep 17 00:00:00 2001 From: Meik Sievertsen Date: Sat, 7 Oct 2006 16:49:44 +0000 Subject: strpos... git-svn-id: file:///svn/phpbb/trunk@6457 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/utf/utf_tools.php | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'phpBB/includes/utf/utf_tools.php') diff --git a/phpBB/includes/utf/utf_tools.php b/phpBB/includes/utf/utf_tools.php index 342952db69..9cd4026c2c 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!) +* already done: strtolower, strtoupper, ucfirst, str_split, strrpos, strlen (hopefully!), strpos * 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, strpos, strspn, chr, ord +* substr, strspn, chr, ord */ /** @@ -192,13 +192,7 @@ if (extension_loaded('mbstring')) /** * UTF-8 aware alternative to strpos - * Find position of first occurrence of a string - * - * @author Harry Fuecks - * @param string haystack - * @param string needle - * @param integer offset in characters (from left) - * @return mixed integer position or FALSE on failure + * @ignore */ function utf8_strpos($str, $needle, $offset = null) { -- cgit v1.2.1