mirror of
https://github.com/macintoshplus/doc-fr.git
synced 2026-03-29 12:22:19 +02:00
git-svn-id: https://svn.php.net/repository/phpdoc/fr/trunk@159561 c90b9560-bf6c-de11-be94-00142212c4b1
69 lines
2.2 KiB
XML
69 lines
2.2 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.8 $ -->
|
|
<!-- EN-Revision: 1.3 Maintainer: yannick Status: ready -->
|
|
<refentry id="function.strcoll">
|
|
<refnamediv>
|
|
<refname>strcoll</refname>
|
|
<refpurpose>Comparaison de chaînes localisées</refpurpose>
|
|
</refnamediv>
|
|
<refsect1>
|
|
<title>Description</title>
|
|
<methodsynopsis>
|
|
<type>int</type><methodname>strcoll</methodname>
|
|
<methodparam><type>string</type><parameter>str1</parameter></methodparam>
|
|
<methodparam><type>string</type><parameter>str2</parameter></methodparam>
|
|
</methodsynopsis>
|
|
<simpara>
|
|
<function>strcoll</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. Si la configuration de localisation courante est
|
|
C ou POSIX, cette fonction est équivalente à <function>strcmp</function>.
|
|
</simpara>
|
|
<simpara>
|
|
Notez que cette comparaison est sensible à la casse, et que
|
|
contrairement à <function>strcmp</function>, elle n'est pas
|
|
compatible avec les chaînes binaires.
|
|
</simpara>
|
|
<note>
|
|
<para>
|
|
Le paramètre <function>strcoll</function> a été ajouté dans &php; 4.0.5 mais n'est
|
|
activé dans la version win32 que depuis &php; 4.2.3.
|
|
</para>
|
|
</note>
|
|
<simpara>
|
|
Voir aussi
|
|
<function>ereg</function>,
|
|
<function>strcmp</function>,
|
|
<function>strcasecmp</function>,
|
|
<function>substr</function>,
|
|
<function>stristr</function>,
|
|
<function>strncasecmp</function>,
|
|
<function>strncmp</function>,
|
|
<function>strstr</function> et
|
|
<function>setlocale</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
|
|
-->
|