Derick,

Thank you for bug report.
I found a very sinple scipt (t1.php, shown below)
causes segmentation error or stack error
using PHP 5.3 compiled with --enable-zend-multibyte.
It works fine with PHP 5.2.

php.ini
---
mbstring.internal_encoding = UTF-8
mbstring.script_encoding = SJIS
--

t1.php

<?php
$az="a";
?>

Current implementation of zend-multibyte for PHP 5.3 
is ported from PHP 5.2 with minimal changes.
I think that the incompatibilities between flex and re2c cause the
problem.

Marcus, 
Do you have any comments ?

Rui


On Thu, 3 Jul 2008 10:04:30 +0200 (CEST)
Derick Rethans <[EMAIL PROTECTED]> wrote:

> On Sun, 29 Jun 2008, Rui Hirokawa wrote:
> 
> > hirokawa            Sun Jun 29 08:21:36 2008 UTC
> > 
> >   Modified files:              (Branch: PHP_5_3)
> >     /ZendEngine2    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 
> >   Log:
> >   implemented again zend-multibyte for PHP 5.3
> 
> I found a bug with this, run the attached script with both multi-byte on 
> and off, and you'll see it.
> 
> regards,
> Derick

-- 
Rui Hirokawa <[EMAIL PROTECTED]>


-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to