Skip to content

Commit 82be54a

Browse files
committed
strncmp: Correct minor typo in example
php/doc-en@43cc4ed
1 parent ecf9e13 commit 82be54a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

reference/strings/functions/strncmp.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!-- $Revision$ -->
3-
<!-- EN-Revision: a3573c18b89fd32aca1c3924d3fd9568900b4a33 Maintainer: hirokawa Status: ready -->
3+
<!-- EN-Revision: 43cc4ed372bde0a8ee986d57bf522d14099d54a6 Maintainer: hirokawa Status: ready -->
44
<!-- CREDITS: shimooka -->
55
<refentry xml:id="function.strncmp" xmlns="http://docbook.org/ns/docbook">
66
<refnamediv>
@@ -97,7 +97,7 @@
9797
$var1 = 'Hello John';
9898
$var2 = 'Hello Doe';
9999
if (strncmp($var1, $var2, 5) === 0) {
100-
echo 'First 5 characters of $var1 and $var2 are equals in a case-sensitive string comparison';
100+
echo 'First 5 characters of $var1 and $var2 are equal in a case-sensitive string comparison';
101101
}
102102
?>
103103
]]>

0 commit comments

Comments
 (0)