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 (profile)
Status: Closed Package: Scripting Engine problem
PHP Version: 5.4.1 OS:
Private report: No CVE-ID: None
 [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

Pull Requests

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
 [2014-10-07 23:26 UTC] stas@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=72f19e9a8bcf5712b24fa333a26616eff19ac1ce
Log: Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config)
 [2014-10-07 23:37 UTC] stas@php.net
Automatic comment on behalf of laruence
Revision: http://git.php.net/?p=php-src-security.git;a=commit;h=72f19e9a8bcf5712b24fa333a26616eff19ac1ce
Log: Fixed bug #61922 (ZTS build doesn't accept zend.script_encoding config)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 10:01:29 2024 UTC