4

Why are the PHP multi-byte string functions (the ones which start with mb_) not used by default in PHP?

3
  • The double-negative way of asking is a little unusual. Commented Oct 3, 2012 at 20:09
  • 4
    Compatibility! (The answer to 99% of "why isn't this better thing the default?" questions.) Commented Oct 3, 2012 at 20:09
  • 2
    Compatibility and shitty design. Commented Oct 3, 2012 at 20:14

2 Answers 2

4

Backwards compatibility. Old PHP scripts depend on non-multibyte functionality.

See also: http://www.php.net/manual/en/mbstring.overload.php

Sign up to request clarification or add additional context in comments.

Comments

0

Because non-multibyte functions were there first.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.