Skip to content

Instantly share code, notes, and snippets.

@robocoder
Created February 6, 2012 00:42
Show Gist options
  • Save robocoder/1748608 to your computer and use it in GitHub Desktop.
Save robocoder/1748608 to your computer and use it in GitHub Desktop.
mbstring.func_overload

When mbstring.func_overload is enabled, various (but not all) built-in string functions are overridden by mbstring's multi-byte string functions.[*]_

  • "mail", "mb_send_mail", "mb_orig_mail"
  • "strlen", "mb_strlen", "mb_orig_strlen"
  • "strpos", "mb_strpos", "mb_orig_strpos"
  • "strrpos", "mb_strrpos", "mb_orig_strrpos"
  • "stripos", "mb_stripos", "mb_orig_stripos"
  • "strripos", "mb_strripos", "mb_orig_strripos"
  • "strstr", "mb_strstr", "mb_orig_strstr"
  • "strrchr", "mb_strrchr", "mb_orig_strrchr"
  • "stristr", "mb_stristr", "mb_orig_stristr"
  • "substr", "mb_substr", "mb_orig_substr"
  • "strtolower", "mb_strtolower", "mb_orig_strtolower"
  • "strtoupper", "mb_strtoupper", "mb_orig_strtoupper"
  • "substr_count", "mb_substr_count", "mb_orig_substr_count"
  • "ereg", "mb_ereg", "mb_orig_ereg"
  • "eregi", "mb_eregi", "mb_orig_eregi"
  • "ereg_replace", "mb_ereg_replace", "mb_orig_ereg_replace"
  • "eregi_replace", "mb_eregi_replace", "mb_orig_eregi_replace"
  • "split", "mb_split", "mb_orig_split"

References

[*]php.net/manual/en/mbstring.overload.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment