From:             judas dot iscarriote at gmail dot com
Operating system: All
PHP version:      5CVS-2006-03-13 (CVS)
PHP Bug Type:     Scripting Engine problem
Bug description:  zend multibyte breaks __halt_compiler

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 bug report at http://bugs.php.net/?id=36711&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=36711&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): 
http://bugs.php.net/fix.php?id=36711&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=36711&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=36711&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=36711&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=36711&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=36711&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=36711&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=36711&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=36711&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=36711&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=36711&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=36711&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=36711&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=36711&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=36711&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=36711&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=36711&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=36711&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=36711&r=mysqlcfg

Reply via email to