1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-30 19:12:28 +02:00
Files
archived-doc-ja/reference/strings/functions/strcmp.xml
Hideyuki Shimooka 2834b518ab fixed EN-Revision typo
git-svn-id: https://svn.php.net/repository/phpdoc/ja/trunk@189338 c90b9560-bf6c-de11-be94-00142212c4b1
2005-06-27 14:41:48 +00:00

60 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 1.5 $ -->
<!-- splitted from ./ja/functions/strings.xml, last change in rev 1.4 -->
<!-- EN-Revision: 1.3 Maintainer: hirokawa Status: ready -->
<!-- CREDITS: shimooka -->
<refentry id="function.strcmp">
<refnamediv>
<refname>strcmp</refname>
<refpurpose>バイナリでも使える文字列比較</refpurpose>
</refnamediv>
<refsect1>
<title>説明</title>
<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>
<parameter>str1</parameter><parameter>str2</parameter>
よりも小さければ &lt; 0 を、<parameter>str1</parameter>
<parameter>str2</parameter>よりも大きければ &gt; 0 を、
等しければ 0 を返します。
</simpara>
<simpara>
この比較は大文字小文字を区別することに注意してください。
</simpara>
<simpara>
<function>ereg</function>,
<function>strcasecmp</function>,
<function>substr</function>,
<function>stristr</function>,
<function>strncasecmp</function>,
<function>strncmp</function>,
<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
-->