File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
reference/strings/functions Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 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 >
9797$var1 = 'Hello John';
9898$var2 = 'Hello Doe';
9999if (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]]>
You can’t perform that action at this time.
0 commit comments