Send a blank email to [email protected] to get a copy of this message
Hi all,
I would like to discuss RFC created at 2009 by Moriyoshi.
Alternative mbstring implementation using ICU
https://wiki.php.net/rfc/altmbstring
The reason behind of this RFC is library used by mbstring.
mbstring uses libmbfl for multibyte string handling and Oniguruma
for multibyte regular expression.
libmbfl is not used widely AFAIK. Oniguruma is used widely by Ruby, etc.
Issue for these libraries are license. They are LGPLed. As long as
PHP/mbstring or
embed SAPI is used as shared library, users are not affected by LGPL.
However,
if users compile their extension statically into PHP or use embed SAPI
statically,
they are affected by LGPL.
I would like to introduce mbstring-ng as a replacement of mbstring for PHP
6 and
move mbstring to PECL. It may be good to introduce work in progress
mbstring-ng
to PHP 5.6 as EXPERIMENTAL module for further development and testing.
There would be compatibility issues between mbstring-ng and mbstring due to
the
difference of used library. Even if there would be compatibility issues,
adoption of
mbstring-ng is better for future development. IMHO.
Any comments?
Regards,
--
Yasuo Ohgaki
[email protected]