Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:71291 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 90078 invoked from network); 20 Jan 2014 03:11:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Jan 2014 03:11:20 -0000 Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.54 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.215.54 mail-la0-f54.google.com Received: from [209.85.215.54] ([209.85.215.54:53469] helo=mail-la0-f54.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3D/60-21343-6D39CD25 for ; Sun, 19 Jan 2014 22:11:19 -0500 Received: by mail-la0-f54.google.com with SMTP id y1so5150667lam.13 for ; Sun, 19 Jan 2014 19:11:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:content-type; bh=7MjdsVrrNmCvIIhjRd3W1jbC25zh21V9pilhTFdgMTE=; b=o3Xh94bevkwZFM/eyJlVXWzFjT61fSdF+LFZENxLJrD7vsZPy7NXM5VzYIIk7wR0vM JS+iZxeNWYl5tLLS/GaB845DBOhT6XGRhHXmh6FMBqF1YDmBjd6ycs5tzMQgSZZtq6Ha cxOFSy/hbIeSUArTWikwaoQynKlKGkLa0emGTzU+K2bhszWmZjD/SfF72rDQs28ThRA5 EB76b/j7cRVdXoJT7VVnByLaPJ07T4uRx+FkDmtrlwKiZFRoq07uWJ7mx4apELmLhKDI 2ltgY3RztcvKpnJPTwa1sa8hdRq4m/jB2M39/hLZrLEc2SlHdwnM9UwW85qC3Hx624Hs s6Vg== X-Received: by 10.153.6.34 with SMTP id cr2mr48530lad.44.1390187475765; Sun, 19 Jan 2014 19:11:15 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.112.6.68 with HTTP; Sun, 19 Jan 2014 19:10:35 -0800 (PST) Date: Mon, 20 Jan 2014 12:10:35 +0900 X-Google-Sender-Auth: ehID5nhhA9fuRyVhXWZMu_AsaPc Message-ID: To: "internals@lists.php.net" Content-Type: multipart/alternative; boundary=001a113496aaaa0fbe04f05e3ec0 Subject: [RFC] mbstring-ng From: yohgaki@ohgaki.net (Yasuo Ohgaki) --001a113496aaaa0fbe04f05e3ec0 Content-Type: text/plain; charset=UTF-8 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 --001a113496aaaa0fbe04f05e3ec0--