Support Joomla!

Joomla! 1.5 Documentation

Packages

Package: utf8

Developer Network License

The Joomla! Developer Network content is © copyright 2006 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution- NonCommercial- ShareAlike 2.5

File/phputf8/str_ireplace.php

Description
Functions
utf8_ireplace (line 24)

UTF-8 aware alternative to str_ireplace

Case-insensitive version of str_replace Note: requires utf8_strtolower Note: it's not fast and gets slower if $search / $replace is array Notes: it's based on the assumption that the lower and uppercase versions of a UTF-8 character will have the same length in bytes which is currently true given the hash table to strtolower

string utf8_ireplace (string $search,  $replace,  $str, [ $count = NULL])
  • string $search
  • $replace
  • $str
  • $count

Documentation generated on Mon, 05 Mar 2007 21:27:20 +0000 by phpDocumentor 1.3.1