[RFC] mbstring-ng

From: Date: Mon, 20 Jan 2014 03:10:35 +0000
Subject: [RFC] mbstring-ng
Groups: php.internals 
Request: Send a blank email to internals+get-71291@lists.php.net 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 yohgaki@ohgaki.net

« previous php.internals (#71291) next »