mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-27 02:12:19 +01:00
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@172818 c90b9560-bf6c-de11-be94-00142212c4b1
57 lines
1.7 KiB
XML
57 lines
1.7 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.8 $ -->
|
|
<!-- EN-Revision: 1.3 Maintainer: didou Status: ready -->
|
|
<refentry id="function.strcmp">
|
|
<refnamediv>
|
|
<refname>strcmp</refname>
|
|
<refpurpose>Comparaison binaire de chaînes</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
&reftitle.description;
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>strcmp</methodname>
|
|
<methodparam><type>string</type><parameter>str1</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>str2</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<simpara>
|
|
<function>strcmp</function> retourne < 0 si <parameter>str1</parameter>
|
|
est inférieure à <parameter>str2</parameter>; > 0 si <parameter>str1</parameter>
|
|
est supérieure à <parameter>str2</parameter>, et 0 si les deux chaînes
|
|
sont égales.
|
|
</simpara>
|
|
<simpara>
|
|
Notez que cette comparaison est sensible à la casse.
|
|
</simpara>
|
|
<simpara>
|
|
Voir aussi <function>ereg</function>,
|
|
<function>strcasecmp</function>,
|
|
<function>substr</function>,
|
|
<function>stristr</function>,
|
|
<function>strncasecmp</function>,
|
|
<function>strncmp</function> et
|
|
<function>strstr</function>.
|
|
</simpara>
|
|
</refsect1>
|
|
</refentry>
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
Local variables:
|
|
mode: sgml
|
|
sgml-omittag:t
|
|
sgml-shorttag:t
|
|
sgml-minimize-attributes:nil
|
|
sgml-always-quote-attributes:t
|
|
sgml-indent-step:1
|
|
sgml-indent-data:t
|
|
indent-tabs-mode:nil
|
|
sgml-parent-document:nil
|
|
sgml-default-dtd-file:"../../../../manual.ced"
|
|
sgml-exposed-tags:nil
|
|
sgml-local-catalogs:nil
|
|
sgml-local-ecat-files:nil
|
|
End:
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
vim: et tw=78 syn=sgml
|
|
vi: ts=1 sw=1
|
|
-->
|