|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-04-11 02:06 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 11:00:02 2025 UTC |
Description: ------------ PHP don't recognize letters like "acuted R" (in fact any acutted letter distinct from [aeiouy]) as "letters". Reproduce code: --------------- <?php var_dump(ctype_alpha('???')); var_dump(ctype_alpha('ŕźś')); var_dump(preg_match('/[a-z]/iU', '???')); var_dump(preg_match('/[a-z]/iU', 'ŕźś')); ?> Expected result: ---------------- bool(true) bool(true) int(1) int(1) Actual result: -------------- bool(false) bool(false) int(0) int(0)