#36711 [Opn]: zend multibyte breaks __halt_compiler
| From: | judas dot iscarriote at gmail dot com | Date: | Mon, 13 Mar 2006 03:46:33 +0000 |
| Subject: | #36711 [Opn]: zend multibyte breaks __halt_compiler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-94240@lists.php.net to get a copy of this message | ||
ID: 36711
User updated by: judas dot iscarriote at gmail dot com
Reported By: judas dot iscarriote at gmail dot com
Status: Open
Bug Type: Scripting Engine problem
Operating System: All
PHP Version: 5CVS-2006-03-13 (CVS)
New Comment:
fixed email address.
Previous Comments:
------------------------------------------------------------------------
[2006-03-13 04:44:59] judas dot iscarriote at gmail dot com
Description:
------------
This a reminder bug for Ilia.
related to talk we had about a problem of zend-multibyte
references :
http://fudforum.org/forum/index.php?t=msg&goto=30765
This effectively brokes FUDforum installer.
Reproduce code:
---------------
I reduced a lilte test case 14 lines ( and most code has been taked
directly from the PHP documentation)
http://cl.php.net/manual/en/function.halt-compiler.php
it's available here :
http://www.onfocus.cl/judas/halt_compiler.php.bz2
the binarty part of the file just contains a bziped text file
containing "This is a test string".
Tested very latest CVS 5.1.3.RC2-dev code.
this seems to be a regression of
http://bugs.php.net/bug.php?id=35147
Expected result:
----------------
php compiled without --enable-zend-multibyte displays
string(65) "
BZh91AY&S�S@" 1�)Q^�
T,"(H~
t"
AFAIK, correct output, the binary data.
Actual result:
--------------
php compiled with zend multibyte:
in a web browser : nothing, ( not even binary content)
in cli : a lot of interrogation
signs(??????????????????????????????????????????)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36711&edit=1