mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Fix #73656: Spoofchecker::isSuspicious output in manual incorrect
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@341291 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
3eead90948
commit
82124f4826
1 changed files with 4 additions and 4 deletions
|
@ -46,7 +46,7 @@
|
|||
<refsect1 role="returnvalues">
|
||||
&reftitle.returnvalues;
|
||||
<para>
|
||||
Returns &true; if there are no suspicious characters, &false; otherwise.
|
||||
Returns &true; if there are suspicious characters, &false; otherwise.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
||||
|
@ -54,15 +54,15 @@
|
|||
&reftitle.examples;
|
||||
<para>
|
||||
<example>
|
||||
<title><function>Spoofchecker::areConfusable</function> example</title>
|
||||
<title><function>Spoofchecker::isSuspicious</function> example</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$checker = new Spoofchecker();
|
||||
|
||||
$checker->isSuspicious('google.com'); // true: only ASCII characters
|
||||
$checker->isSuspicious('google.com'); // FALSE: only ASCII characters
|
||||
|
||||
$checker->isSuspicious('Рaypal.com'); // false
|
||||
$checker->isSuspicious('Рaypal.com'); // TRUE
|
||||
// The first letter is from Cyrylic, not a regular latin "P"
|
||||
]]>
|
||||
</programlisting>
|
||||
|
|
Loading…
Reference in a new issue