|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-12-15 05:41 UTC] sitnikov at infonet dot ee
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 08:00:01 2025 UTC |
This script work OK with cgi version php and randomly fail with apache module (preg_match It is used for comparison and it works always correctly): <? $LOCALE = 'ru_RU.KOI8-R'; setlocale('LC_ALL' ,$LOCALE); $str = "??????"; echo $str."<br>\n"; if (eregi("??????",$str)) echo "eregi: OK<br>\n"; if (preg_match("/??????/i",$str)) echo "preg_match: OK<br>\n"; ?>