php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #61922 ZTS build doesn't accept zend.script_encoding config
Submitted: 2012-05-03 13:20 UTC Modified: 2012-05-03 14:42 UTC
From: laruence@php.net Assigned: laruence
Status: Closed Package: Scripting Engine problem
PHP Version: 5.4.1 OS:
Private report: No CVE-ID:
 [2012-05-03 13:20 UTC] laruence@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~


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2012-05-03 14:39 UTC] laruence@php.net
-Summary: PHP 5.4 ZTS build doesn't accept zend.script_encoding configure +Summary: ZTS build doesn't accept zend.script_encoding config
 [2012-05-03 14:40 UTC] laruence@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 UTC] laruence@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:42 UTC] laruence@php.net
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.


 [2012-05-03 14:42 UTC] laruence@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Mon Apr 21 12:02:07 2014 UTC