ID: 34753 Updated by: [EMAIL PROTECTED] Reported By: struchkov at gmail dot com -Status: Open +Status: Feedback Bug Type: mbstring related Operating System: RedHat FC4 PHP Version: 5.0.5 New Comment:
Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2005-10-06 11:33:32] struchkov at gmail dot com Description: ------------ 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) { $tmp=mb_split('[[:space:][:punct:]><]',$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 2.6.11.4-21.9-default) 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=34753&edit=1