4

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

Ry-
  • 209,133
  • 54
  • 439
  • 449
Zulakis
  • 7,479
  • 10
  • 41
  • 62

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
  • 36,762
  • 12
  • 70
  • 89
0

Because non-multibyte functions were there first.

Sven
  • 66,463
  • 10
  • 102
  • 105