mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-29 20:32:10 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@167786 c90b9560-bf6c-de11-be94-00142212c4b1
68 lines
2.2 KiB
XML
68 lines
2.2 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.9 $ -->
|
|
<!-- EN-Revision: 1.4 Maintainer: didou Status: ready -->
|
|
<refentry id="function.strnatcasecmp">
|
|
<refnamediv>
|
|
<refname>strnatcasecmp</refname>
|
|
<refpurpose>
|
|
Comparaison de chaînes avec l'algorithme d'"ordre naturel" (insensible à la casse)
|
|
</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>strnatcasecmp</methodname>
|
|
<methodparam><type>string</type><parameter>str1</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>str2</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<para>
|
|
<function>strnatcasecmp</function> implémente l'algorithme
|
|
de comparaison qui ordonne les chaînes tel qu'un homme
|
|
le ferai. Cette fonction est similaire à la fonction
|
|
<function>strnatcmp</function>, mais la comparaison n'est pas
|
|
sensible à la casse. Pour plus de détails, reportez-vous à
|
|
<ulink url="&url.strnatcmp;"><literal>Natural Order String Comparison</literal></ulink>
|
|
de Martin Pool (en anglais).
|
|
</para>
|
|
<simpara>
|
|
<function>strnatcasecmp</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>
|
|
Voir aussi
|
|
<function>ereg</function>,
|
|
<function>strcasecmp</function>,
|
|
<function>substr</function>,
|
|
<function>stristr</function>,
|
|
<function>strcmp</function>,
|
|
<function>strncmp</function>,
|
|
<function>strncasecmp</function>,
|
|
<function>strnatcmp</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
|
|
-->
|