Edit report at https://bugs.php.net/bug.php?id=61922&edit=1

 ID:                 61922
 Updated by:         larue...@php.net
 Reported by:        larue...@php.net
 Summary:            ZTS build doesn't accept zend.script_encoding config
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            Scripting Engine problem
 PHP Version:        5.4.1
-Assigned To:        
+Assigned To:        laruence
 Block user comment: N
 Private report:     N

 New Comment:

This bug has been fixed in SVN.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.

 For Windows:

http://windows.php.net/snapshots/
 
Thank you for the report, and for helping us make PHP better.




Previous Comments:
------------------------------------------------------------------------
[2012-05-03 14:40:50] larue...@php.net

Automatic comment on behalf of laruence
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=72f19e9a8bcf5712b24fa333a26616eff19ac1ce
Log: Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config)

------------------------------------------------------------------------
[2012-05-03 14:40:02] larue...@php.net

Automatic comment on behalf of laruence
Revision: 
http://git.php.net/?p=php-src.git;a=commit;h=72f19e9a8bcf5712b24fa333a26616eff19ac1ce
Log: Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config)

------------------------------------------------------------------------
[2012-05-03 13:20:41] larue...@php.net

Description:
------------
in zts mode, 

following test faild: 
test for mbstring script_encoding for flex unsafe encoding (Shift_JIS) 
[Zend/tests/multibyte/multibyte_encoding_004.phpt]
encoding conversion from script encoding into internal encoding 
[Zend/tests/multibyte/multibyte_encoding_005.phpt]

after I digging,  I found the reason:

mbstring ext first set the CG(encoding_list) by calling 
zend_multibyte_set_functions,  but after then zend_post_startup be called, then 
compiler_globals_ctor be called. then the encoding_list setting lost.

so~



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=61922&edit=1

Reply via email to