Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / Zend.m4 zend.c zend_compile.c zend_globals.h zend_highlight.c zend_language_scanner.c
zend_language_scanner.h zend_language_scanner.l zend_language_scanner_defs.h zend_multibyte.h
| From: | Rui Hirokawa | Date: | Sun, 29 Jun 2008 13:42:10 +0000 |
| Subject: | Re: [ZEND-ENGINE-CVS] cvs: ZendEngine2(PHP_5_3) / Zend.m4 zend.c zend_compile.c zend_globals.h zend_highlight.c zend_language_scanner.c zend_language_scanner.h zend_language_scanner.l zend_language_scanner_defs.h zend_multibyte.h |
||
| References: | 1 2 | Groups: | php.zend-engine.cvs |
| Request: | Send a blank email to php-zend-engine-cvs+get-6828@lists.php.net to get a copy of this message | ||
Hi Pierre,
Thank you for the comment.
I also replied for internals@ to explain the current status.
My implementation of zend multibyte for PHP 5.3 is still in experimental
because I am not re2c/flex expert, but I hope that it is useful for the
PHP users using multibyte encoding.
Rui
On Sun, 29 Jun 2008 14:44:33 +0200
"Pierre Joye" <pierre.php@gmail.com> wrote:
> hi Rui,
>
> On Sun, Jun 29, 2008 at 1:29 PM, Rui Hirokawa <rui_hirokawa@ybb.ne.jp> wrote:
>
>
> > The tests stuff for zend-multibyte are already existing
> > in Zend/tests/multibyte/*.phpt.
> >
> > In my understanding, the reason of removing zend_multibyte stuff
> > from PHP 5.3 is incompatibility with re2c.
>
> The reason why multibyte was not tested, implenented or available
> after the re2c move is the complete lack of tests, real examples, etc.
>
> There was a discussion on internals where many persons ask for real
> use cases of this feature. I don't remember anyone having posted at
> least one use case (last time I check was on Friday).
>
> If you have other use cases for a couple of charsets, please commit
> them as well. Maybe Scott or Marcus can also point you to to their
> requests or ask for specific cases.
>
> > Removing multibyte encoding support from PHP 5.3 will cause
> > the severe incompatibility problem with the older PHP 5.x.
>
> Indeed, and it is one of the last issues we have now for 5.3.
>
> It would be nice to have a post on internals about this issue and its
> status, to explain the changes or what has to be done(not everyone
> follows the Zend cvs list).
>
> Thanks for your work :)
>
> Cheers,
> --
> Pierre
>
> http://blog.thepimp.net |
> http://www.libgd.org
--
Rui Hirokawa <rui_hirokawa@ybb.ne.jp>