|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-09-10 17:31 UTC] gamid at isayev dot net
[2002-09-10 18:47 UTC] wez@php.net
[2002-09-11 08:51 UTC] gamid at isayev dot net
[2002-09-11 09:48 UTC] wez@php.net
[2002-09-11 11:33 UTC] gamid at isayev dot net
[2002-09-11 12:50 UTC] wez@php.net
[2002-09-14 19:13 UTC] wez@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 29 16:00:01 2025 UTC |
<? $name = "Test".utf8_encode("\xDC");; echo "name = '$name'<BR>\n"; echo preg_match("/^[[:alpha:]]+$/u", $name); echo "<BR>\n"; ?> The above snippet does not produce expected result. According to documentation, preg_match() should return a true value, but it returns false. It looks as modifier 'u' does not work as it is described in the manual ( http://www.php.net/manual/en/pcre.pattern.modifiers.php ).