4

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

Ry-
  • 218,210
  • 55
  • 464
  • 476
Zulakis
  • 7,859
  • 10
  • 42
  • 67

2 Answers2

4

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

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

Frank Farmer
  • 38,246
  • 12
  • 71
  • 89
0

Because non-multibyte functions were there first.

Sven
  • 69,403
  • 10
  • 107
  • 109