1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-06 16:56:44 +02:00

strpos...

git-svn-id: file:///svn/phpbb/trunk@6457 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen
2006-10-07 16:49:44 +00:00
parent eac1b02843
commit c40783e6a2
3 changed files with 8 additions and 13 deletions

View File

@@ -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)
{