php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67199 mb_regex_encoding mishmash
Submitted: 2014-05-03 23:30 UTC Modified: 2014-05-05 08:39 UTC
Votes:2
Avg. Score:5.0 ± 0.0
Reproduced:1 of 2 (50.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: bugzilla77 at gmail dot com Assigned: yohgaki (profile)
Status: Closed Package: mbstring related
PHP Version: 5.6.0beta2 OS: win 7
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bugzilla77 at gmail dot com
New email:
PHP Version: OS:

 

 [2014-05-03 23:30 UTC] bugzilla77 at gmail dot com
Description:
------------
Apache 2.4.9
module php5apache2_4.dll

Test script:
---------------
<?php
 if(ini_get('default_charset')=='UTF-8'){
  exit(mb_internal_encoding().','.mb_regex_encoding());
 }else{
  exit('Please SET php.ini: default_charset = "UTF-8"');
 }
?>

Expected result:
----------------
UTF-8,UTF-8

Actual result:
--------------
On first request after Apache restart:
UTF-8,EUC-JP

On next request (F5 Reload) is OK:
UTF-8,UTF-8

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-05-05 08:39 UTC] yohgaki@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: yohgaki
 [2014-05-12 04:45 UTC] yohgaki@php.net
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=997be125eb0228c5b1b6dd278f617791e71192c6
Log: Fixed bug #67199	mb_regex_encoding mishmash
 [2014-05-12 04:45 UTC] yohgaki@php.net
-Status: Assigned +Status: Closed
 [2014-05-12 09:03 UTC] ab@php.net
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=997be125eb0228c5b1b6dd278f617791e71192c6
Log: Fixed bug #67199	mb_regex_encoding mishmash
 [2014-05-13 11:25 UTC] dmitry@php.net
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=997be125eb0228c5b1b6dd278f617791e71192c6
Log: Fixed bug #67199	mb_regex_encoding mishmash
 [2014-05-14 07:57 UTC] tyrael@php.net
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=997be125eb0228c5b1b6dd278f617791e71192c6
Log: Fixed bug #67199	mb_regex_encoding mishmash
 [2014-05-26 06:32 UTC] ab@php.net
Automatic comment on behalf of yohgaki
Revision: http://git.php.net/?p=php-src.git;a=commit;h=997be125eb0228c5b1b6dd278f617791e71192c6
Log: Fixed bug #67199	mb_regex_encoding mishmash
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Dec 03 17:01:29 2024 UTC