php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #46541 Apache restarts
Submitted: 2008-11-11 09:15 UTC Modified: 2008-11-19 01:00 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: adrien at frenchcomp dot net Assigned:
Status: No Feedback Package: mbstring related
PHP Version: 5.2.6 OS: Windows XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: adrien at frenchcomp dot net
New email:
PHP Version: OS:

 

 [2008-11-11 09:15 UTC] adrien at frenchcomp dot net
Description:
------------
I am using PHP under windows (WAMP 2.0, default configuration, with XDebug enabled).

Everything runs under UTF-8 encoding (MySQL, File, Apache...) and when I try to launch this following line :

My apache server is restarted.

Reproduce code:
---------------
// $data is a string got from Database
mb_convert_case($data, MB_CASE_TITLE);

// $data is a string got from Database
mb_convert_case($data, MB_CASE_TITLE, "UTF-8");

Expected result:
----------------
I expect to get the string with Title case.

Actual result:
--------------
Apache restarts

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-11-11 09:24 UTC] adrien at frenchcomp dot net
Actually, just doing "mb_convert_case" works, but it does not work into a switch/case structure :


 case 'Name':
 return mb_convert_case($data, MB_CASE_TITLE, "UTF-8");
 break;


When PHP executes this part of code several times (I mean, I launch this switch/case on a list of 50  'Name' elements.
 [2008-11-11 10:27 UTC] jani@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows:

  http://windows.php.net/snapshots/


 [2008-11-19 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 19:01:29 2024 UTC