cvs: phpdoc-kr /language constants.xml /reference/strings/functions count-chars.xml md5-file.xml md5.xml sha1.xml
| From: | LEE Yun-young | Date: | Tue, 02 Dec 2008 23:49:04 +0000 |
| Subject: | cvs: phpdoc-kr /language constants.xml /reference/strings/functions count-chars.xml md5-file.xml md5.xml sha1.xml | ||
| Groups: | php.doc.kr | ||
| Request: | Send a blank email to doc-kr+get-801@lists.php.net to get a copy of this message | ||
progcom Tue Dec 2 23:49:04 2008 UTC
Modified files:
/phpdoc-kr/language constants.xml
/phpdoc-kr/reference/strings/functions count-chars.xml md5-file.xml
md5.xml sha1.xml
Log:
sync
http://cvs.php.net/viewvc.cgi/phpdoc-kr/language/constants.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-kr/language/constants.xml diff -u phpdoc-kr/language/constants.xml:1.12 phpdoc-kr/language/constants.xml:1.13 --- phpdoc-kr/language/constants.xml:1.12 Tue Dec 2 00:43:01 2008 +++ phpdoc-kr/language/constants.xml Tue Dec 2 23:49:04 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.53 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.54 Maintainer: progcom Status: ready --> <!-- CREDITS: fuzzy74 --> <chapter xml:id="language.constants" xmlns="http://docbook.org/ns/docbook"> <title>ìì</title> @@ -67,9 +67,10 @@ ììµëë¤. ììê° íë² ì ìëë©´, ë³ê²½íê±°ë í´ì (undefine)í ì ììµëë¤. </simpara> <simpara> - ì¤ì¹¼ë¼ ë°ì´í°(<type>boolean</type>, <type>integer</type>, - <type>float</type> ê³¼ <type>string</type>)ë§ ììì ê°ì¼ë¡ ì¸ììë¤. - <type>resource</type> ìì를 ì ìíì§ ë§ììì¤. + ììë ì¤ì¹¼ë¼ ë°ì´í°(<type>boolean</type>, <type>integer</type>, + <type>float</type>, <type>string</type>)ë§ ê°ì§ ì ììµëë¤. + <type>resource</type>를 ììë¡ ë±ë¡í ì ìì§ë§, í¼íììì¤. ììí ì + ìë 결과를 ë³ì ì ììµëë¤. </simpara> <simpara> ë¨ìí ììëª ì ì¨ì ììê°ì ì»ì ì ìë¤. ë³ììë ë¬ë¦¬ http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/count-chars.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/strings/functions/count-chars.xml diff -u phpdoc-kr/reference/strings/functions/count-chars.xml:1.4 phpdoc-kr/reference/strings/functions/count-chars.xml:1.5 --- phpdoc-kr/reference/strings/functions/count-chars.xml:1.4 Sun Nov 9 18:31:48 2008 +++ phpdoc-kr/reference/strings/functions/count-chars.xml Tue Dec 2 23:49:04 2008 @@ -1,98 +1,130 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> - <refentry xml:id="function.count-chars" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>count_chars</refname> - <refpurpose> - 문ìì´ ìì ì¬ì©í 문ìì ëí ì 보를 ë°íí©ëë¤. - </refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>mixed</type><methodname>count_chars</methodname> - <methodparam><type>string</type><parameter>string</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>string</parameter> ìì 모ë ë°ì´í¸ê°(0..255)ì ë°ê²¬ ì를 ì¸ê³ - ì¬ë¬ ë°©ë²ì¼ë¡ ë°íí©ëë¤. ì íì ì¸ ì¸ì <parameter>mode</parameter>ì - 기본ê°ì 0ì ëë¤. <parameter>mode</parameter>ì ë°ë¥¸ - <function>count_chars</function>ì ë°íê°ì ë¤ìê³¼ ê°ìµëë¤: - <itemizedlist> - <listitem> - <simpara> - 0 - ë°ì´í¸ ê°ì í¤ë¡, 모ë ë°ì´í¸ì ë¹ë를 ê°ì¼ë¡ ê°ì§ë ë°°ì´. - </simpara> - </listitem> - <listitem> - <simpara> - 1 - 0ê³¼ ê°ì§ë§, ë¹ëê° 1 ì´ìì¸ ë°ì´í¸ê°ë§ ë°íí©ëë¤. - </simpara> - </listitem> - <listitem> - <simpara> - 2 - 0ê³¼ ê°ì§ë§, ë¹ëê° 0ì¸ ë°ì´í¸ê°ë§ ë°íí©ëë¤. - </simpara> - </listitem> - <listitem> - <simpara> - 3 - ì¬ì©í 모ë ë°ì´í¸ê°ì ê°ì§ë 문ìì´ì ë°íí©ëë¤. - </simpara> - </listitem> - <listitem> - <simpara> - 4 - ì¬ì©íì§ ìì 모ë ë°ì´í¸ê°ì ê°ì§ë 문ìì´ì ë°íí©ëë¤. - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - <example> - <title><function>count_chars</function> ìì </title> - <programlisting role="php"> +<!-- EN-Revision: 1.11 Maintainer: progcom Status: ready --> +<refentry xml:id="function.count-chars" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>count_chars</refname> + <refpurpose>문ìì´ ìì ì¬ì©í 문ìì ëí ì 보를 ë°í</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>mixed</type><methodname>count_chars</methodname> + <methodparam><type>string</type><parameter>string</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>string</parameter> ììì 모ë ë°ì´í¸ ê°(0..255)ì ì를 ì¸ê³ + ì¬ë¬ ë°©ë²ì¼ë¡ ë°íí©ëë¤. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>string</parameter></term> + <listitem> + <para> + ê²ì¬í 문ìì´. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>mode</parameter></term> + <listitem> + <para> + ì íì ì¸ ì¸ì <parameter>mode</parameter>ì 기본ê°ì 0ì ëë¤. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>mode</parameter>ì ë°ë¥¸ + <function>count_chars</function>ì ë°íê°ì ë¤ìê³¼ ê°ìµëë¤: + <itemizedlist> + <listitem> + <simpara> + 0 - ë°ì´í¸ ê°ì í¤ë¡, ë¹ë를 ê°ì¼ë¡ ê°ì§ë ë°°ì´. + </simpara> + </listitem> + <listitem> + <simpara> + 1 - 0ê³¼ ê°ì§ë§, ë¹ëê° 1 ì´ìì¸ ë°ì´í¸ê°ë§ ë°íí©ëë¤. + </simpara> + </listitem> + <listitem> + <simpara> + 2 - 0ê³¼ ê°ì§ë§, ë¹ëê° 0ì¸ ë°ì´í¸ê°ë§ ë°íí©ëë¤. + </simpara> + </listitem> + <listitem> + <simpara> + 3 - ì¬ì©í 모ë 문ì를 ê°ì§ë 문ìì´ì ë°íí©ëë¤. + </simpara> + </listitem> + <listitem> + <simpara> + 4 - ì¬ì©íì§ ìì 모ë 문ì를 ê°ì§ë 문ìì´ì ë°íí©ëë¤. + </simpara> + </listitem> + </itemizedlist> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>count_chars</function> ìì </title> + <programlisting role="php"> <![CDATA[ <?php - $data = "Two Ts and one F."; -$result = count_chars($data, 0); - -for ($i=0; $i < count($result); $i++) { - if ($result[$i] != 0) - echo "There were $result[$i] instance(s) of \"" , chr($i) , "\" in the string.\n"; +foreach (count_chars($data, 1) as $i => $val) { + echo "There were $val instance(s) of \"" , chr($i) , "\" in the string.\n"; } - ?> ]]> - </programlisting> - <para> - ì¶ë ¥ì: - </para> - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ -There were 4 instance(s) of " " in the string. -There were 1 instance(s) of "." in the string. -There were 1 instance(s) of "F" in the string. -There were 2 instance(s) of "T" in the string. -There were 1 instance(s) of "a" in the string. -There were 1 instance(s) of "d" in the string. -There were 1 instance(s) of "e" in the string. -There were 2 instance(s) of "n" in the string. -There were 2 instance(s) of "o" in the string. -There were 1 instance(s) of "s" in the string. -There were 1 instance(s) of "w" in the string. +There were 4 instance(s) of " " in the string. +There were 1 instance(s) of "." in the string. +There were 1 instance(s) of "F" in the string. +There were 2 instance(s) of "T" in the string. +There were 1 instance(s) of "a" in the string. +There were 1 instance(s) of "d" in the string. +There were 1 instance(s) of "e" in the string. +There were 2 instance(s) of "n" in the string. +There were 2 instance(s) of "o" in the string. +There were 1 instance(s) of "s" in the string. +There were 1 instance(s) of "w" in the string. ]]> - </screen> - </example> - </para> - <simpara> - ì°¸ê³ : <function>strpos</function>, - <function>substr_count</function>. - </simpara> - </refsect1> - </refentry> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>strpos</function></member> + <member><function>substr_count</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/md5-file.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/strings/functions/md5-file.xml diff -u phpdoc-kr/reference/strings/functions/md5-file.xml:1.4 phpdoc-kr/reference/strings/functions/md5-file.xml:1.5 --- phpdoc-kr/reference/strings/functions/md5-file.xml:1.4 Sun Nov 30 08:40:29 2008 +++ phpdoc-kr/reference/strings/functions/md5-file.xml Tue Dec 2 23:49:04 2008 @@ -1,39 +1,118 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> - <refentry xml:id="function.md5-file" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>md5_file</refname> - <refpurpose>주ì´ì§ íì¼ëª ì md5 í´ì를 ê³ì°í©ëë¤.</refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>string</type><methodname>md5_file</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> - </methodsynopsis> - <para> - <link xlink:href="&url.rfc;1321">RSA Data Security, Inc. MD5 Message-Digest - Algorithm</link>를 ì¬ì©íì¬ ì§ì í <parameter>filename</parameter>ì - MD5 í´ì를 ê³ì°íì¬ ë°íí©ëë¤. í´ìë 16ì§ìì 32문ìì ëë¤. ì íì ì¸ - <parameter>raw_output</parameter>를 &true;ë¡ ì¤ì íë©´, md5 ë¤ì´ì ì¤í¸ë - 16ì 길ì´ë¥¼ ê°ì§ë ìì ë°ì´ë리 íìì ë°íí©ëë¤. - </para> - <note> - <simpara> - ì íì ì¸ <parameter>raw_output</parameter> ì¸ìë PHP 5.0.0ìì - ì¶ê°ëìì¼ë©°, 기본ê°ì¼ë¡ &false;ì ëë¤. - </simpara> - </note> - <para> - ì´ í¨ìë ëª ë ¹ì¤ ì í¸ë¦¬í° md5sumê³¼ ëì¼í 목ì ì ê°ì§ëë¤. - </para> - <para> - ì°¸ê³ : <function>md5</function>, <function>crc32</function>, - <function>sha1_file</function>. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.11 Maintainer: progcom Status: ready --> +<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.md5-file"> + <refnamediv> + <refname>md5_file</refname> + <refpurpose>주ì´ì§ íì¼ì md5 í´ì를 ê³ì°</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>md5_file</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> + </methodsynopsis> + <para> + <link xlink:href="&url.rfc;1321">RSA Data Security, Inc. MD5 Message-Digest + Algorithm</link>ì ì¬ì©í´ì <parameter>filename</parameter> ì¸ìë¡ ì§ì í + íì¼ì MD5 í´ì를 ê³ì°í´ì ë°íí©ëë¤. í´ìë 32문ìì 16ì§ìì ëë¤. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + íì¼ëª + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>raw_output</parameter></term> + <listitem> + <para> + &true;ì´ë©´, í´ì를 ê¸¸ì´ 16ì ë°ì´ë리 íìì¼ë¡ ë°íí©ëë¤. 기본ê°ì + &false;ì ëë¤. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + ì±ê³µìì 문ìì´ì, ê·¸ ì¸ì &false;를 ë°íí©ëë¤. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.0.0</entry> + <entry> + <parameter>raw_output</parameter> ì¸ì ì¶ê° + </entry> + </row> + <row> + <entry>5.1.0</entry> + <entry> + í¨ìê° ì¤í¸ë¦¼ API를 ì¬ì©íëë¡ ë³ê²½ëììµëë¤. ì¦, + <literal>md5_file('http://example.com/..')</literal>ì²ë¼ ëí¼ë¥¼ ì¬ì©í + ì ììµëë¤. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>md5_file</function> ì©ë¡</title> + <programlisting role="php"> +<![CDATA[ +<?php +$file = 'php-5.3.0alpha2-Win32-VC9-x64.zip'; + +echo 'MD5 file hash of ' . $file . ': ' . md5_file($file); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>md5</function></member> + <member><function>sha1_file</function></member> + <member><function>crc32</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/md5.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/reference/strings/functions/md5.xml diff -u phpdoc-kr/reference/strings/functions/md5.xml:1.5 phpdoc-kr/reference/strings/functions/md5.xml:1.6 --- phpdoc-kr/reference/strings/functions/md5.xml:1.5 Sun Nov 30 08:40:29 2008 +++ phpdoc-kr/reference/strings/functions/md5.xml Tue Dec 2 23:49:04 2008 @@ -1,34 +1,87 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.7 Maintainer: progcom Status: ready --> - <refentry xml:id="function.md5" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>md5</refname> - <refpurpose>문ìì´ì md5 í´ì를 ê³ì°í©ëë¤.</refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>string</type><methodname>md5</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> - <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> - </methodsynopsis> - <para> - <link xlink:href="&url.rfc;1321">RSA Data Security, Inc. MD5 Message-Digest - Algorithm</link>ì ì¬ì©íì¬ <parameter>str</parameter>ì MD5 í´ì를 - ê³ì°íì¬ ë°íí©ëë¤. í´ìë 16ì§ìì 32문ìì ëë¤. ì íì ì¸ - <parameter>raw_output</parameter>를 &true;ë¡ ì¤ì íë©´, md5 ë¤ì´ì ì¤í¸ë - 16ì 길ì´ë¥¼ ê°ì§ë ìì ë°ì´ë리 íìì¼ë¡ ë°íí©ëë¤. - </para> - <note> - <simpara> - ì íì ì¸ <parameter>raw_output</parameter> ì¸ìë PHP 5.0.0ìì - ì¶ê°ëìê³ , 기본ê°ì¼ë¡ &false;ì ëë¤. - </simpara> - </note> - <para> - <example> - <title><function>md5</function> ìì </title> - <programlisting role="php"> +<!-- EN-Revision: 1.12 Maintainer: progcom Status: ready --> +<refentry xml:id="function.md5" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>md5</refname> + <refpurpose>문ìì´ì md5 í´ì를 ê³ì°</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>md5</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> + </methodsynopsis> + <para> + <link xlink:href="&url.rfc;1321">RSA Data Security, Inc. MD5 Message-Digest + Algorithm</link>ì ì¬ì©íì¬ <parameter>str</parameter>ì MD5 í´ì를 + ê³ì°íì¬ ë°íí©ëë¤. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>string</parameter></term> + <listitem> + <para> + 문ìì´. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>raw_output</parameter></term> + <listitem> + <para> + &true;ì´ë©´, í´ì를 ê¸¸ì´ 16ì ë°ì´ë리 íìì¼ë¡ ë°íí©ëë¤. 기본ê°ì + &false;ì ëë¤. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + 16ì§ì 32 문ìë¡ í´ì를 ë°íí©ëë¤. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.0.0</entry> + <entry> + <parameter>raw_output</parameter> ì¸ì ì¶ê°. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>md5</function> ìì </title> + <programlisting role="php"> <![CDATA[ <?php $str = 'apple'; @@ -39,15 +92,25 @@ } ?> ]]> - </programlisting> - </example> - </para> - <para> - ì°¸ê³ : <function>crc32</function>, <function>md5_file</function>, - <function>sha1</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>md5_file</function></member> + <member><function>sha1_file</function></member> + <member><function>crc32</function></member> + <member><function>sha1</function></member> + <member><function>hash</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/sha1.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/strings/functions/sha1.xml diff -u phpdoc-kr/reference/strings/functions/sha1.xml:1.4 phpdoc-kr/reference/strings/functions/sha1.xml:1.5 --- phpdoc-kr/reference/strings/functions/sha1.xml:1.4 Sun Nov 30 08:40:30 2008 +++ phpdoc-kr/reference/strings/functions/sha1.xml Tue Dec 2 23:49:04 2008 @@ -1,53 +1,114 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.6 Maintainer: progcom Status: ready --> - <refentry xml:id="function.sha1" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>sha1</refname> - <refpurpose>문ìì´ì sha1 í´ì를 ê³ì°í©ëë¤.</refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>string</type><methodname>sha1</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> - <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> - </methodsynopsis> - <simpara> - <link xlink:href="&url.rfc;3174">US Secure Hash Algorithm 1</link>ì ì¬ì©íì¬, - <parameter>str</parameter>ì sha1 í´ì를 ê³ì°íì¬ ë°íí©ëë¤. í´ìë - 16ì§ì를 ëíë´ë 40 문ìì ëë¤. ì íì ì¸ - <parameter>raw_output</parameter>를 &true;ë¡ ì¤ì íë©´, ê¸¸ì´ 20ì¸ ë¬´ë³í - ë°ì´ë리 íìì sha1 ë¤ì´ì ì¤í¸ë¥¼ ë°íí©ëë¤. - </simpara> - <note> - <simpara> - ì íì ì¸ <parameter>raw_output</parameter> ì¸ìë PHP 5.0.0ìì - ì¶ê°ëìê³ , 기본ê°ì &false;ì ëë¤. - </simpara> - </note> - <para> - <example> - <title><function>sha1</function> ìì </title> - <programlisting role="php"> +<!-- EN-Revision: 1.12 Maintainer: progcom Status: ready --> +<refentry xml:id="function.sha1" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>sha1</refname> + <refpurpose>문ìì´ì sha1 í´ì를 ê³ì°</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>sha1</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> + </methodsynopsis> + <simpara> + <link xlink:href="&url.rfc;3174">US Secure Hash Algorithm 1</link>ì + ì¬ì©íì¬ <parameter>str</parameter>ì sha1 í´ì를 ê³ì°í©ëë¤. + </simpara> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>str</parameter></term> + <listitem> + <para> + ì ë ¥ 문ìì´. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>raw_output</parameter></term> + <listitem> + <para> + ì íì ì¸ <parameter>raw_output</parameter>를 &true;ë¡ ì¤ì íë©´, ê¸¸ì´ + 20ì¸ ë°ì´ë리 íìì sha1 í´ì를 ë°íí©ëë¤. 기본ê°ì &false;ì ëë¤. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + sha1 í´ì를 문ìì´ë¡ ë°íí©ëë¤. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.0.0</entry> + <entry> + <parameter>raw_output</parameter> ì¸ì ì¶ê°. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>sha1</function> ìì </title> + <programlisting role="php"> <![CDATA[ <?php $str = 'apple'; - + if (sha1($str) === 'd0be2dc421be4fcd0172e5afceea3970e2f3d940') { echo "Would you like a green or red apple?"; exit; } ?> ]]> - </programlisting> - </example> - </para> - <simpara> - ì°¸ê³ : <function>sha1_file</function>, <function>crc32</function>, - <function>md5</function> - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>sha1_file</function></member> + <member><function>crc32</function></member> + <member><function>md5</function></member> + <member><function>hash</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables:
http://cvs.php.net/viewvc.cgi/phpdoc-kr/language/constants.xml?r1=1.12&r2=1.13&diff_format=u Index: phpdoc-kr/language/constants.xml diff -u phpdoc-kr/language/constants.xml:1.12 phpdoc-kr/language/constants.xml:1.13 --- phpdoc-kr/language/constants.xml:1.12 Tue Dec 2 00:43:01 2008 +++ phpdoc-kr/language/constants.xml Tue Dec 2 23:49:04 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.53 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.54 Maintainer: progcom Status: ready --> <!-- CREDITS: fuzzy74 --> <chapter xml:id="language.constants" xmlns="http://docbook.org/ns/docbook"> <title>ìì</title> @@ -67,9 +67,10 @@ ììµëë¤. ììê° íë² ì ìëë©´, ë³ê²½íê±°ë í´ì (undefine)í ì ììµëë¤. </simpara> <simpara> - ì¤ì¹¼ë¼ ë°ì´í°(<type>boolean</type>, <type>integer</type>, - <type>float</type> ê³¼ <type>string</type>)ë§ ììì ê°ì¼ë¡ ì¸ììë¤. - <type>resource</type> ìì를 ì ìíì§ ë§ììì¤. + ììë ì¤ì¹¼ë¼ ë°ì´í°(<type>boolean</type>, <type>integer</type>, + <type>float</type>, <type>string</type>)ë§ ê°ì§ ì ììµëë¤. + <type>resource</type>를 ììë¡ ë±ë¡í ì ìì§ë§, í¼íììì¤. ììí ì + ìë 결과를 ë³ì ì ììµëë¤. </simpara> <simpara> ë¨ìí ììëª ì ì¨ì ììê°ì ì»ì ì ìë¤. ë³ììë ë¬ë¦¬ http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/count-chars.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/strings/functions/count-chars.xml diff -u phpdoc-kr/reference/strings/functions/count-chars.xml:1.4 phpdoc-kr/reference/strings/functions/count-chars.xml:1.5 --- phpdoc-kr/reference/strings/functions/count-chars.xml:1.4 Sun Nov 9 18:31:48 2008 +++ phpdoc-kr/reference/strings/functions/count-chars.xml Tue Dec 2 23:49:04 2008 @@ -1,98 +1,130 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> - <refentry xml:id="function.count-chars" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>count_chars</refname> - <refpurpose> - 문ìì´ ìì ì¬ì©í 문ìì ëí ì 보를 ë°íí©ëë¤. - </refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>mixed</type><methodname>count_chars</methodname> - <methodparam><type>string</type><parameter>string</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>string</parameter> ìì 모ë ë°ì´í¸ê°(0..255)ì ë°ê²¬ ì를 ì¸ê³ - ì¬ë¬ ë°©ë²ì¼ë¡ ë°íí©ëë¤. ì íì ì¸ ì¸ì <parameter>mode</parameter>ì - 기본ê°ì 0ì ëë¤. <parameter>mode</parameter>ì ë°ë¥¸ - <function>count_chars</function>ì ë°íê°ì ë¤ìê³¼ ê°ìµëë¤: - <itemizedlist> - <listitem> - <simpara> - 0 - ë°ì´í¸ ê°ì í¤ë¡, 모ë ë°ì´í¸ì ë¹ë를 ê°ì¼ë¡ ê°ì§ë ë°°ì´. - </simpara> - </listitem> - <listitem> - <simpara> - 1 - 0ê³¼ ê°ì§ë§, ë¹ëê° 1 ì´ìì¸ ë°ì´í¸ê°ë§ ë°íí©ëë¤. - </simpara> - </listitem> - <listitem> - <simpara> - 2 - 0ê³¼ ê°ì§ë§, ë¹ëê° 0ì¸ ë°ì´í¸ê°ë§ ë°íí©ëë¤. - </simpara> - </listitem> - <listitem> - <simpara> - 3 - ì¬ì©í 모ë ë°ì´í¸ê°ì ê°ì§ë 문ìì´ì ë°íí©ëë¤. - </simpara> - </listitem> - <listitem> - <simpara> - 4 - ì¬ì©íì§ ìì 모ë ë°ì´í¸ê°ì ê°ì§ë 문ìì´ì ë°íí©ëë¤. - </simpara> - </listitem> - </itemizedlist> - </para> - <para> - <example> - <title><function>count_chars</function> ìì </title> - <programlisting role="php"> +<!-- EN-Revision: 1.11 Maintainer: progcom Status: ready --> +<refentry xml:id="function.count-chars" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>count_chars</refname> + <refpurpose>문ìì´ ìì ì¬ì©í 문ìì ëí ì 보를 ë°í</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>mixed</type><methodname>count_chars</methodname> + <methodparam><type>string</type><parameter>string</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>mode</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>string</parameter> ììì 모ë ë°ì´í¸ ê°(0..255)ì ì를 ì¸ê³ + ì¬ë¬ ë°©ë²ì¼ë¡ ë°íí©ëë¤. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>string</parameter></term> + <listitem> + <para> + ê²ì¬í 문ìì´. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>mode</parameter></term> + <listitem> + <para> + ì íì ì¸ ì¸ì <parameter>mode</parameter>ì 기본ê°ì 0ì ëë¤. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>mode</parameter>ì ë°ë¥¸ + <function>count_chars</function>ì ë°íê°ì ë¤ìê³¼ ê°ìµëë¤: + <itemizedlist> + <listitem> + <simpara> + 0 - ë°ì´í¸ ê°ì í¤ë¡, ë¹ë를 ê°ì¼ë¡ ê°ì§ë ë°°ì´. + </simpara> + </listitem> + <listitem> + <simpara> + 1 - 0ê³¼ ê°ì§ë§, ë¹ëê° 1 ì´ìì¸ ë°ì´í¸ê°ë§ ë°íí©ëë¤. + </simpara> + </listitem> + <listitem> + <simpara> + 2 - 0ê³¼ ê°ì§ë§, ë¹ëê° 0ì¸ ë°ì´í¸ê°ë§ ë°íí©ëë¤. + </simpara> + </listitem> + <listitem> + <simpara> + 3 - ì¬ì©í 모ë 문ì를 ê°ì§ë 문ìì´ì ë°íí©ëë¤. + </simpara> + </listitem> + <listitem> + <simpara> + 4 - ì¬ì©íì§ ìì 모ë 문ì를 ê°ì§ë 문ìì´ì ë°íí©ëë¤. + </simpara> + </listitem> + </itemizedlist> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>count_chars</function> ìì </title> + <programlisting role="php"> <![CDATA[ <?php - $data = "Two Ts and one F."; -$result = count_chars($data, 0); - -for ($i=0; $i < count($result); $i++) { - if ($result[$i] != 0) - echo "There were $result[$i] instance(s) of \"" , chr($i) , "\" in the string.\n"; +foreach (count_chars($data, 1) as $i => $val) { + echo "There were $val instance(s) of \"" , chr($i) , "\" in the string.\n"; } - ?> ]]> - </programlisting> - <para> - ì¶ë ¥ì: - </para> - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ -There were 4 instance(s) of " " in the string. -There were 1 instance(s) of "." in the string. -There were 1 instance(s) of "F" in the string. -There were 2 instance(s) of "T" in the string. -There were 1 instance(s) of "a" in the string. -There were 1 instance(s) of "d" in the string. -There were 1 instance(s) of "e" in the string. -There were 2 instance(s) of "n" in the string. -There were 2 instance(s) of "o" in the string. -There were 1 instance(s) of "s" in the string. -There were 1 instance(s) of "w" in the string. +There were 4 instance(s) of " " in the string. +There were 1 instance(s) of "." in the string. +There were 1 instance(s) of "F" in the string. +There were 2 instance(s) of "T" in the string. +There were 1 instance(s) of "a" in the string. +There were 1 instance(s) of "d" in the string. +There were 1 instance(s) of "e" in the string. +There were 2 instance(s) of "n" in the string. +There were 2 instance(s) of "o" in the string. +There were 1 instance(s) of "s" in the string. +There were 1 instance(s) of "w" in the string. ]]> - </screen> - </example> - </para> - <simpara> - ì°¸ê³ : <function>strpos</function>, - <function>substr_count</function>. - </simpara> - </refsect1> - </refentry> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>strpos</function></member> + <member><function>substr_count</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/md5-file.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/strings/functions/md5-file.xml diff -u phpdoc-kr/reference/strings/functions/md5-file.xml:1.4 phpdoc-kr/reference/strings/functions/md5-file.xml:1.5 --- phpdoc-kr/reference/strings/functions/md5-file.xml:1.4 Sun Nov 30 08:40:29 2008 +++ phpdoc-kr/reference/strings/functions/md5-file.xml Tue Dec 2 23:49:04 2008 @@ -1,39 +1,118 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> - <refentry xml:id="function.md5-file" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>md5_file</refname> - <refpurpose>주ì´ì§ íì¼ëª ì md5 í´ì를 ê³ì°í©ëë¤.</refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>string</type><methodname>md5_file</methodname> - <methodparam><type>string</type><parameter>filename</parameter></methodparam> - <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> - </methodsynopsis> - <para> - <link xlink:href="&url.rfc;1321">RSA Data Security, Inc. MD5 Message-Digest - Algorithm</link>를 ì¬ì©íì¬ ì§ì í <parameter>filename</parameter>ì - MD5 í´ì를 ê³ì°íì¬ ë°íí©ëë¤. í´ìë 16ì§ìì 32문ìì ëë¤. ì íì ì¸ - <parameter>raw_output</parameter>를 &true;ë¡ ì¤ì íë©´, md5 ë¤ì´ì ì¤í¸ë - 16ì 길ì´ë¥¼ ê°ì§ë ìì ë°ì´ë리 íìì ë°íí©ëë¤. - </para> - <note> - <simpara> - ì íì ì¸ <parameter>raw_output</parameter> ì¸ìë PHP 5.0.0ìì - ì¶ê°ëìì¼ë©°, 기본ê°ì¼ë¡ &false;ì ëë¤. - </simpara> - </note> - <para> - ì´ í¨ìë ëª ë ¹ì¤ ì í¸ë¦¬í° md5sumê³¼ ëì¼í 목ì ì ê°ì§ëë¤. - </para> - <para> - ì°¸ê³ : <function>md5</function>, <function>crc32</function>, - <function>sha1_file</function>. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.11 Maintainer: progcom Status: ready --> +<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://docbook.org/ns/docbook" xml:id="function.md5-file"> + <refnamediv> + <refname>md5_file</refname> + <refpurpose>주ì´ì§ íì¼ì md5 í´ì를 ê³ì°</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>md5_file</methodname> + <methodparam><type>string</type><parameter>filename</parameter></methodparam> + <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> + </methodsynopsis> + <para> + <link xlink:href="&url.rfc;1321">RSA Data Security, Inc. MD5 Message-Digest + Algorithm</link>ì ì¬ì©í´ì <parameter>filename</parameter> ì¸ìë¡ ì§ì í + íì¼ì MD5 í´ì를 ê³ì°í´ì ë°íí©ëë¤. í´ìë 32문ìì 16ì§ìì ëë¤. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>filename</parameter></term> + <listitem> + <para> + íì¼ëª + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>raw_output</parameter></term> + <listitem> + <para> + &true;ì´ë©´, í´ì를 ê¸¸ì´ 16ì ë°ì´ë리 íìì¼ë¡ ë°íí©ëë¤. 기본ê°ì + &false;ì ëë¤. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + ì±ê³µìì 문ìì´ì, ê·¸ ì¸ì &false;를 ë°íí©ëë¤. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.0.0</entry> + <entry> + <parameter>raw_output</parameter> ì¸ì ì¶ê° + </entry> + </row> + <row> + <entry>5.1.0</entry> + <entry> + í¨ìê° ì¤í¸ë¦¼ API를 ì¬ì©íëë¡ ë³ê²½ëììµëë¤. ì¦, + <literal>md5_file('http://example.com/..')</literal>ì²ë¼ ëí¼ë¥¼ ì¬ì©í + ì ììµëë¤. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>md5_file</function> ì©ë¡</title> + <programlisting role="php"> +<![CDATA[ +<?php +$file = 'php-5.3.0alpha2-Win32-VC9-x64.zip'; + +echo 'MD5 file hash of ' . $file . ': ' . md5_file($file); +?> +]]> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>md5</function></member> + <member><function>sha1_file</function></member> + <member><function>crc32</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/md5.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/reference/strings/functions/md5.xml diff -u phpdoc-kr/reference/strings/functions/md5.xml:1.5 phpdoc-kr/reference/strings/functions/md5.xml:1.6 --- phpdoc-kr/reference/strings/functions/md5.xml:1.5 Sun Nov 30 08:40:29 2008 +++ phpdoc-kr/reference/strings/functions/md5.xml Tue Dec 2 23:49:04 2008 @@ -1,34 +1,87 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.7 Maintainer: progcom Status: ready --> - <refentry xml:id="function.md5" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>md5</refname> - <refpurpose>문ìì´ì md5 í´ì를 ê³ì°í©ëë¤.</refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>string</type><methodname>md5</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> - <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> - </methodsynopsis> - <para> - <link xlink:href="&url.rfc;1321">RSA Data Security, Inc. MD5 Message-Digest - Algorithm</link>ì ì¬ì©íì¬ <parameter>str</parameter>ì MD5 í´ì를 - ê³ì°íì¬ ë°íí©ëë¤. í´ìë 16ì§ìì 32문ìì ëë¤. ì íì ì¸ - <parameter>raw_output</parameter>를 &true;ë¡ ì¤ì íë©´, md5 ë¤ì´ì ì¤í¸ë - 16ì 길ì´ë¥¼ ê°ì§ë ìì ë°ì´ë리 íìì¼ë¡ ë°íí©ëë¤. - </para> - <note> - <simpara> - ì íì ì¸ <parameter>raw_output</parameter> ì¸ìë PHP 5.0.0ìì - ì¶ê°ëìê³ , 기본ê°ì¼ë¡ &false;ì ëë¤. - </simpara> - </note> - <para> - <example> - <title><function>md5</function> ìì </title> - <programlisting role="php"> +<!-- EN-Revision: 1.12 Maintainer: progcom Status: ready --> +<refentry xml:id="function.md5" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>md5</refname> + <refpurpose>문ìì´ì md5 í´ì를 ê³ì°</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>md5</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> + </methodsynopsis> + <para> + <link xlink:href="&url.rfc;1321">RSA Data Security, Inc. MD5 Message-Digest + Algorithm</link>ì ì¬ì©íì¬ <parameter>str</parameter>ì MD5 í´ì를 + ê³ì°íì¬ ë°íí©ëë¤. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>string</parameter></term> + <listitem> + <para> + 문ìì´. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>raw_output</parameter></term> + <listitem> + <para> + &true;ì´ë©´, í´ì를 ê¸¸ì´ 16ì ë°ì´ë리 íìì¼ë¡ ë°íí©ëë¤. 기본ê°ì + &false;ì ëë¤. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + 16ì§ì 32 문ìë¡ í´ì를 ë°íí©ëë¤. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.0.0</entry> + <entry> + <parameter>raw_output</parameter> ì¸ì ì¶ê°. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>md5</function> ìì </title> + <programlisting role="php"> <![CDATA[ <?php $str = 'apple'; @@ -39,15 +92,25 @@ } ?> ]]> - </programlisting> - </example> - </para> - <para> - ì°¸ê³ : <function>crc32</function>, <function>md5_file</function>, - <function>sha1</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>md5_file</function></member> + <member><function>sha1_file</function></member> + <member><function>crc32</function></member> + <member><function>sha1</function></member> + <member><function>hash</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/sha1.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/strings/functions/sha1.xml diff -u phpdoc-kr/reference/strings/functions/sha1.xml:1.4 phpdoc-kr/reference/strings/functions/sha1.xml:1.5 --- phpdoc-kr/reference/strings/functions/sha1.xml:1.4 Sun Nov 30 08:40:30 2008 +++ phpdoc-kr/reference/strings/functions/sha1.xml Tue Dec 2 23:49:04 2008 @@ -1,53 +1,114 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.6 Maintainer: progcom Status: ready --> - <refentry xml:id="function.sha1" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> - <refnamediv> - <refname>sha1</refname> - <refpurpose>문ìì´ì sha1 í´ì를 ê³ì°í©ëë¤.</refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>string</type><methodname>sha1</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> - <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> - </methodsynopsis> - <simpara> - <link xlink:href="&url.rfc;3174">US Secure Hash Algorithm 1</link>ì ì¬ì©íì¬, - <parameter>str</parameter>ì sha1 í´ì를 ê³ì°íì¬ ë°íí©ëë¤. í´ìë - 16ì§ì를 ëíë´ë 40 문ìì ëë¤. ì íì ì¸ - <parameter>raw_output</parameter>를 &true;ë¡ ì¤ì íë©´, ê¸¸ì´ 20ì¸ ë¬´ë³í - ë°ì´ë리 íìì sha1 ë¤ì´ì ì¤í¸ë¥¼ ë°íí©ëë¤. - </simpara> - <note> - <simpara> - ì íì ì¸ <parameter>raw_output</parameter> ì¸ìë PHP 5.0.0ìì - ì¶ê°ëìê³ , 기본ê°ì &false;ì ëë¤. - </simpara> - </note> - <para> - <example> - <title><function>sha1</function> ìì </title> - <programlisting role="php"> +<!-- EN-Revision: 1.12 Maintainer: progcom Status: ready --> +<refentry xml:id="function.sha1" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <refnamediv> + <refname>sha1</refname> + <refpurpose>문ìì´ì sha1 í´ì를 ê³ì°</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>sha1</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + <methodparam choice='opt'><type>bool</type><parameter>raw_output</parameter></methodparam> + </methodsynopsis> + <simpara> + <link xlink:href="&url.rfc;3174">US Secure Hash Algorithm 1</link>ì + ì¬ì©íì¬ <parameter>str</parameter>ì sha1 í´ì를 ê³ì°í©ëë¤. + </simpara> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>str</parameter></term> + <listitem> + <para> + ì ë ¥ 문ìì´. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>raw_output</parameter></term> + <listitem> + <para> + ì íì ì¸ <parameter>raw_output</parameter>를 &true;ë¡ ì¤ì íë©´, ê¸¸ì´ + 20ì¸ ë°ì´ë리 íìì sha1 í´ì를 ë°íí©ëë¤. 기본ê°ì &false;ì ëë¤. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + sha1 í´ì를 문ìì´ë¡ ë°íí©ëë¤. + </para> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>5.0.0</entry> + <entry> + <parameter>raw_output</parameter> ì¸ì ì¶ê°. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>sha1</function> ìì </title> + <programlisting role="php"> <![CDATA[ <?php $str = 'apple'; - + if (sha1($str) === 'd0be2dc421be4fcd0172e5afceea3970e2f3d940') { echo "Would you like a green or red apple?"; exit; } ?> ]]> - </programlisting> - </example> - </para> - <simpara> - ì°¸ê³ : <function>sha1_file</function>, <function>crc32</function>, - <function>md5</function> - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>sha1_file</function></member> + <member><function>crc32</function></member> + <member><function>md5</function></member> + <member><function>hash</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: