Why are the PHP multi-byte string functions (the ones which start with mb_) not used by default in PHP?
-
The double-negative way of asking is a little unusual.spender– spender2012-10-03 20:09:36 +00:00Commented Oct 3, 2012 at 20:09
-
4Compatibility! (The answer to 99% of "why isn't this better thing the default?" questions.)Ry-– Ry- ♦2012-10-03 20:09:59 +00:00Commented Oct 3, 2012 at 20:09
-
2Compatibility and shitty design.user703016– user7030162012-10-03 20:14:20 +00:00Commented Oct 3, 2012 at 20:14
Add a comment
|
2 Answers
Backwards compatibility. Old PHP scripts depend on non-multibyte functionality.
See also: http://www.php.net/manual/en/mbstring.overload.php