Bug #61922 [Opn->Csd]: ZTS build doesn't accept zend.script_encoding config

From: Date: Thu, 03 May 2012 14:42:21 +0000
Subject: Bug #61922 [Opn->Csd]: ZTS build doesn't accept zend.script_encoding config
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-170122@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=61922&edit=1 ID: 61922 Updated by: laruence@php.net Reported by: laruence@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] 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:02] 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 13:20:41] 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~ ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=61922&edit=1

« previous php.bugs (#170122) next »