|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-10-06 14:54 UTC] sniper@php.net
[2005-10-14 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Nov 24 14:00:02 2025 UTC |
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