ZTS build doesn't accept zend.script_encoding config
| 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 commits
[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:42 UTC] laruence@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: laruence