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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Sun Jul 13 15:01:33 2025 UTC