|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #34753 wrong output from mb_split
Submitted: 2005-10-06 11:33 UTC Modified: 2005-10-14 01:00 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: struchkov at gmail dot com Assigned:
Status: No Feedback Package: mbstring related
PHP Version: 5.0.5 OS: RedHat FC4
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2005-10-06 11:33 UTC] struchkov at gmail dot com
I work with multibite string such as russian articles in utf-encoding. I use mb_split in my program to split string ro words

function splitString($string)
    foreach($tmp as $k=>$v)
       if (empty($v)) unset($tmp[$k]);
    return $tmp;

In my small test server (1 cpu AMD Sempron(tm) 2800+, php-4.3.10, Suse 9.3, kernel I'm having right results.
But in my producting server (2 cpu Intel(R) Xeon(TM) CPU 3.00GHz with HT, php-5.0.4, RedHat FC4, kernel 2.6.13-1.1526_FC4smp) I'm having strange split, some symbols are converted into '?', some words split in middle of word....
May be problem in 64-bit version of processor


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-10-06 14:54 UTC]
Please try using this CVS snapshot:
For Windows:

 [2005-10-14 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-2019 The PHP Group
All rights reserved.
Last updated: Mon Aug 19 12:01:26 2019 UTC