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:
Christoph Michael Becker 2016-12-05 17:10:38 +00:00
parent 3eead90948
commit 82124f4826

View file

@ -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>