Should I use multi-byte overloading (mbstring.func_overload)?

后端 未结 2 1839
暖寄归人
暖寄归人 2021-01-03 03:05

I\'m in the process of making my PHP site Unicode-aware. I\'m wondering if anyone has experience with the mbstring.func_overload setting, which replaces the nor

2条回答
  •  我在风中等你
    2021-01-03 03:36

    one issue you should definitely watch for is 3rd party scripts (perhaps a library or pear extension) which uses non mb-aware versions of functions. for example, libraries that use strlen() could cause issues if you overload it.

    as well, this bug report shows that the virtual host bleeding of mb_overloaded functions have been corrected in 5.2/5.3 CVS versions. the bug is specific to per-directory configurations.

提交回复
热议问题