|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2004-06-09 16:21 UTC] iliaa@php.net
 | |||||||||||||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 08:00:01 2025 UTC | 
Description: ------------ To the best of my knowledge this issue was reported in version 4.3.4 and has not been addressed since. The 19th character in the Hebrew alphabet is called "Koof" (the oo is pronounced similar to "Book"). This is a new issue from the version 4.3 and above (not sure if 4.3.2 had it or not). I am a hosting company owner (linux box) and have lots of users who are complaining about this problem. One of my users gave a sample code that illustrate this problem: <?php setlocale (LC_ALL,"hebrew"); $long_date = strftime("%A, %d %B %Y"); echo $long_date . "<br />"; $str = "?????"; if (preg_match('/[^\w\s\-\.\@]/i',$str)) { print "wrong!"; } ?> Please have someone have a look at this at your earliest as I am 'bombarded' with "There is something wrong with your server" msgs. This issue was checked at a previous version of PHP with no problems and seem to work fine. -Alon alon@wsco.com Reproduce code: --------------- <?php setlocale (LC_ALL,"hebrew"); $long_date = strftime("%A, %d %B %Y"); echo $long_date . "<br />"; $str = "?????"; if (preg_match('/[^\w\s\-\.\@]/i',$str)) { print "wrong!"; } ?> Expected result: ---------------- ??? ?????, 01 ???? 2004 Actual result: -------------- ??? ?????, 01 ???? 2004 wrong!