cvs: phpdoc-kr /install pecl.xml /language operators.xml /reference/strings/functions strip-tags.xml stripos.xml
| From: | LEE Yun-young | Date: | Sat, 29 Nov 2008 22:33:23 +0000 |
| Subject: | cvs: phpdoc-kr /install pecl.xml /language operators.xml /reference/strings/functions strip-tags.xml stripos.xml | ||
| Groups: | php.doc.kr | ||
| Request: | Send a blank email to doc-kr+get-795@lists.php.net to get a copy of this message | ||
progcom Sat Nov 29 22:33:23 2008 UTC
Modified files:
/phpdoc-kr/install pecl.xml
/phpdoc-kr/language operators.xml
/phpdoc-kr/reference/strings/functions strip-tags.xml stripos.xml
Log:
sync
http://cvs.php.net/viewvc.cgi/phpdoc-kr/install/pecl.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/install/pecl.xml diff -u phpdoc-kr/install/pecl.xml:1.5 phpdoc-kr/install/pecl.xml:1.6 --- phpdoc-kr/install/pecl.xml:1.5 Mon Nov 17 14:22:38 2008 +++ phpdoc-kr/install/pecl.xml Sat Nov 29 22:33:22 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.20 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.22 Maintainer: progcom Status: ready --> <!-- CREDITS: acidd15 --> <chapter xml:id="install.pecl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -40,6 +40,12 @@ <itemizedlist> <listitem> <simpara> + <literal>pecl install extname</literal> ëª ë ¹ì íì¥ ì½ë를 ìëì¼ë¡ + ë´ë ¤ë°ì¼ë¯ë¡, ë°ë¡ ë¤ì´ë¡ë í íìê° ììµëë¤. + </simpara> + </listitem> + <listitem> + <simpara> <link xlink:href="&url.pecl;">&url.pecl;</link> </simpara> <simpara> @@ -73,6 +79,11 @@ $ cvs -d:pserver:cvsread@cvs.php.net:/repository co pecl/extname </screen> </para> + <para> + ëë, <link xlink:href="&url.php.cvs;pecl/">ViewVC</link> ìì¤í ì + ê° ëë í 리 ìì í´ë¹ ìì¤ ì½ë를 ë°ì ì ìë "Download GNU tarball" + ë§í¬ê° ììµëë¤. íìí íì¥ì ì í©í ëë í ë¦¬ë¡ ë¤ì´ê°ì ë´ë ¤ë°ì¼ììì¤. + </para> </listitem> <listitem> <simpara> http://cvs.php.net/viewvc.cgi/phpdoc-kr/language/operators.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-kr/language/operators.xml diff -u phpdoc-kr/language/operators.xml:1.13 phpdoc-kr/language/operators.xml:1.14 --- phpdoc-kr/language/operators.xml:1.13 Sat Nov 29 08:22:15 2008 +++ phpdoc-kr/language/operators.xml Sat Nov 29 22:33:22 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.127 Maintainer: progcom Status: wip --> +<!-- EN-Revision: 1.127 Maintainer: progcom Status: ready --> <chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook"> <title>ì°ì°ì</title> <simpara> @@ -998,15 +998,13 @@ </sect1> <sect1 xml:id="language.operators.string"> - <title>String Operators</title> + <title>문ìì´ ì°ì°ì</title> <simpara> - There are two <type>string</type> operators. The first is the - concatenation operator ('.'), which returns the concatenation of its - right and left arguments. The second is the concatenating assignment - operator ('.='), which appends the argument on the ì¤ë¥¸ìª½ side to - the argument on the left side. Please read <link - linkend="language.operators.assignment">Assignment - Operators</link> for more information. + ë ê°ì <type>string</type> ì°ì°ìê° ììµëë¤. 첫ë²ì§¸ë ì°ê²° + ì°ì°ì('.')ë¡, ì¤ë¥¸ìª½ê³¼ ì¼ìª½ ì¸ìì ì°ê²°ì ë°íí©ëë¤. ëë²ì§¸ë ì°ê²° í ë¹ + ì°ì°ì('.=')ë¡, ì¤ë¥¸ìª½ ì¸ì를 ì¼ìª½ ì¸ìì ë§ë¶ì ëë¤. ìì¸í ì ë³´ë <link + linkend="language.operators.assignment">í ë¹ ì°ì°ì</link>를 + ì°¸ê³ íììì¤. </simpara> <para> @@ -1025,63 +1023,61 @@ </informalexample> </para> <para> - See also the manual sections on the - <link linkend="language.types.string">String type</link> and - <link linkend="ref.strings">String functions</link>. + 매ë´ì¼ <link linkend="language.types.string">문ìì´í</link>ê³¼ <link + linkend="ref.strings">문ìì´ í¨ì</link> ì¹ì ì ì°¸ê³ íììì¤. </para> </sect1> <sect1 xml:id="language.operators.array"> - <title>Array Operators</title> + <title>ë°°ì´ ì°ì°ì</title> <table> - <title>Array Operators</title> + <title>ë°°ì´ ì°ì°ì</title> <tgroup cols="3"> <thead> <row> - <entry>Example</entry> - <entry>Name</entry> - <entry>Result</entry> + <entry>ìì </entry> + <entry>ì´ë¦</entry> + <entry>ê²°ê³¼</entry> </row> </thead> <tbody> <row> <entry>$a + $b</entry> <entry>Union</entry> - <entry>Union of $a and $b.</entry> + <entry>$aì $bì í©ì§í©.</entry> </row> <row> <entry>$a == $b</entry> <entry>Equality</entry> - <entry>&true; if $a and $b have the same key/value pairs.</entry> + <entry>$aì $bê° ëì¼í í¤/ê° ìì ê°ì§ë©´ &true;.</entry> </row> <row> <entry>$a === $b</entry> <entry>Identity</entry> - <entry>&true; if $a and $b have the same key/value pairs in the same - order and of the same types.</entry> + <entry>$aì $bê° ëì¼í í¤/ê° ìì ëì¼í ììì ëì¼í ìë£íì¼ë¡ + ê°ì§ë©´ &true;.</entry> </row> <row> <entry>$a != $b</entry> <entry>Inequality</entry> - <entry>&true; if $a is not equal to $b.</entry> + <entry>$aê° $bì ê°ì§ ìì¼ë©´ &true;.</entry> </row> <row> <entry>$a <> $b</entry> <entry>Inequality</entry> - <entry>&true; if $a is not equal to $b.</entry> + <entry>$aê° $bì ê°ì§ ìì¼ë©´ &true;.</entry> </row> <row> <entry>$a !== $b</entry> <entry>Non-identity</entry> - <entry>&true; if $a is not identical to $b.</entry> + <entry>$aê° $bì ëì¼íì§ ìì¼ë©´ &true;.</entry> </row> </tbody> </tgroup> </table> <para> - The <literal>+</literal> operator - appends elements of remaining keys from the ì¤ë¥¸ìª½ handed array to the - ì¼ìª½ handed, whereas duplicated keys are NOT overwritten. + <literal>+</literal> ì°ì°ìë ì¤ë¥¸ìª½ ë°°ì´ìì ì¼ìª½ ë°°ì´ë¡ í¤ë¥¼ ì ì§íë©° + ìì를 ë§ë¶ì ëë¤. ì¤ë³µëë í¤ë¥¼ ë®ì´ì°ì§ ììµëë¤. </para> <para> <informalexample> @@ -1102,7 +1098,7 @@ ]]> </programlisting> </informalexample> - When executed, this script will print the following: + ì¤ííë©´, ì ì¤í¬ë¦½í¸ë ë¤ìì ì¶ë ¥í©ëë¤: <screen role="php"> <![CDATA[ Union of $a and $b: @@ -1127,12 +1123,11 @@ </screen> </para> <para> - Elements of arrays are equal for the comparison if they have the - same key and value. + ëì¼í í¤ì ê°ì ê°ì§ê³ ìì¼ë©´, ë¹êµí ë ê°ì ë°°ì´ ììì ëë¤. </para> <para> <example> - <title>Comparing arrays</title> + <title>ë¹ì´ ë¹êµí기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1147,19 +1142,18 @@ </example> </para> <para> - See also the manual sections on the - <link linkend="language.types.array">Array type</link> and - <link linkend="ref.array">Array functions</link>. + 매ë´ì¼ <link linkend="language.types.array">ë°°ì´í</link>ê³¼ <link + linkend="ref.array">ë°°ì´ í¨ì</link> ì¹ì ì ì°¸ê³ íììì¤. </para> </sect1> <sect1 xml:id="language.operators.type"> - <title>Type Operators</title> + <title>ìë£í ì°ì°ì</title> <para> - <literal>instanceof</literal> is used to determine whether a PHP variable - is an instantiated object of a certain - <link linkend="language.oop5.basic.class">class</link>: + <literal>instanceof</literal>ë PHP ë³ìê° ì´ë¤ <link + linkend="language.oop5.basic.class">í´ëì¤</link>ìì ìì±ë ê°ì²´ì¸ì§ + íì¸í ë ì¬ì©í©ëë¤: <example> - <title>Using instanceof with classes</title> + <title>í´ëì¤ì instanceof ì¬ì©í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1187,10 +1181,10 @@ </example> </para> <para> - <literal>instanceof</literal> can also be used to determine whether a variable - is an instantiated object of a class that inherits from a parent class: + <literal>instanceof</literal>ë ë³ìê° ë¶ëª¨ í´ëì¤ìì ììë°ì í´ëì¤ì¸ì§ + íì¸í ëë ì¬ì©í ì ììµëë¤: <example> - <title>Using instanceof with inherited classes</title> + <title>ìì í´ëì¤ì instanceof ì¬ì©í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1219,12 +1213,12 @@ </example> </para> <para> - To check if an object is <emphasis>not</emphasis> an instanceof a class, the - <link linkend="language.operators.logical">logical <literal>not</literal> - operator</link> can be used. + ê°ì²´ê° í´ëì¤ì ì¸ì¤í´ì¤ê° <emphasis>ìë</emphasis>ì§ íì¸íë ¤ë©´, <link + linkend="language.operators.logical">ë ¼ë¦¬ <literal>not</literal> + ì°ì°ì</link>를 ì¬ì©í ì ììµëë¤. <example> - <title>Using instanceof to check if object is <emphasis>not</emphasis> an - instanceof a class</title> + <title>ê°ì²´ê° í´ëì¤ì ì¸ì¤í´ì¤ê° <emphasis>ìë</emphasis>ì§ íì¸í기 + ìí´ instanceof ì¬ì©í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1246,11 +1240,11 @@ </example> </para> <para> - Lastly, <literal>instanceof</literal> can also be used to determine whether - a variable is an instantiated object of a class that implements an - <link linkend="language.oop5.interfaces">interface</link>: + ë§ì§ë§ì¼ë¡, <literal>instanceof</literal>ë ë³ìê° <link + linkend="language.oop5.interfaces">ì¸í°íì´ì¤</link>를 구íí í´ëì¤ì + ê°ì²´ ì¸ì¤í´ì¤ì¸ì§ íì¸í기 ìí´ ì¬ì©í ì ììµëë¤: <example> - <title>Using instanceof for class</title> + <title>í´ëì¤ì instanceof ì¬ì©í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1279,10 +1273,10 @@ </example> </para> <para> - Although <literal>instanceof</literal> is usually used with a literal classname, - it can also be used with another object or a string variable: + ë³´íµ <literal>instanceof</literal>를 문ì í´ëì¤ëª ì ì¬ì©íì§ë§, ë¤ë¥¸ + ê°ì²´ë 문ìì´ ë³ììë ì¬ì©í ì ììµëë¤: <example> - <title>Using instanceof with other variables</title> + <title>ë¤ë¥¸ ë³ìì instanceof ì¬ì©í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1316,13 +1310,14 @@ </example> </para> <para> - There are a few pitfalls to be aware of. Before PHP version 5.1.0, - <literal>instanceof</literal> would call <link linkend="language.oop5.autoload">__autoload()</link> - if the class name did not exist. In addition, if the class was not loaded, - a fatal error would occur. This can be worked around by using a <literal>dynamic - class reference</literal>, or a string variable containing the class name: + 주ìí´ì¼í í¨ì ì´ ììµëë¤. PHP 5.1.0 ì´ì ì, + <literal>instanceof</literal>ë í´ëì¤ëª ì´ ì¡´ì¬íì§ ìì¼ë©´ <link + linkend="language.oop5.autoload">__autoload()</link>를 í¸ì¶íìµëë¤. + ì¶ê°ë¡, í´ëì¤ê° ì ì¬ëì§ ìì¼ë©´ ì¹ëª ì ì¸ ì¤ë¥ê° ë°ìíìµëë¤. ì´ë + <literal>ëì í´ëì¤ ì°¸ì¡°</literal>를 ì¬ì©íê±°ë, í´ëì¤ëª ì ê°ì§ë 문ìì´ + ë³ìë¡ í´ê²°í ì ììµëë¤: <example> - <title>Avoiding classname lookups and fatal errors with instanceof in PHP 5.0</title> + <title>PHP 5.0 intanceofìì í´ëì¤ëª 찾기ì ì¹ëª ì ì¸ ì¤ë¥ í¼í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1340,13 +1335,12 @@ </example> </para> <simpara> - The <literal>instanceof</literal> operator was introduced in PHP 5. - Before this time <function>is_a</function> was used but - <function>is_a</function> has since been deprecated in favor of - <literal>instanceof</literal>. + <literal>instanceof</literal> ì°ì°ìë PHP 5ìì ì¶ê°ëììµëë¤. ì´ì ìë + <function>is_a</function>ê° ì¬ì©ëìì§ë§, <function>is_a</function>ë + <literal>instanceof</literal>ì 기ë¥ì¼ë¡ ì¸í´ ë°°ì ëììµëë¤. </simpara> <para> - See also <function>get_class</function> and + ì°¸ê³ : <function>get_class</function>, <function>is_a</function>. </para> </sect1> http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/strip-tags.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-kr/reference/strings/functions/strip-tags.xml diff -u phpdoc-kr/reference/strings/functions/strip-tags.xml:1.6 phpdoc-kr/reference/strings/functions/strip-tags.xml:1.7 --- phpdoc-kr/reference/strings/functions/strip-tags.xml:1.6 Mon Nov 10 07:09:24 2008 +++ phpdoc-kr/reference/strings/functions/strip-tags.xml Sat Nov 29 22:33:23 2008 @@ -1,89 +1,155 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.8 Maintainer: progcom Status: ready --> - <refentry xml:id="function.strip-tags" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>strip_tags</refname> - <refpurpose>문ìì´ìì HTMLê³¼ PHP í그를 ì ê±°í©ëë¤.</refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>string</type><methodname>strip_tags</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>allowable_tags</parameter></methodparam> - </methodsynopsis> - <para> - 주ì´ì§ <parameter>str</parameter>ìì 모ë HTMLê³¼ PHP í그를 ì ê±°í - 문ìì´ì ë°íí©ëë¤. ì´ í¨ìë <function>fgetss</function> í¨ìì ëì¼í - íê·¸ ì ê±° ë°©ìì ì¬ì©í©ëë¤. - </para> - <para> - ì íì ì¸ ëë²ì§¸ ì¸ìë¡ ì ê±°íì§ ìì í그를 ì§ì í ì ììµëë¤. - <note> +<!-- EN-Revision: 1.17 Maintainer: progcom Status: ready --> +<refentry xml:id="function.strip-tags" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>strip_tags</refname> + <refpurpose>문ìì´ìì HTMLê³¼ PHP í그를 ì ê±°</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>strip_tags</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>allowable_tags</parameter></methodparam> + </methodsynopsis> + <para> + 주ì´ì§ <parameter>str</parameter>ìì 모ë HTMLê³¼ PHP í그를 ì ê±°í + 문ìì´ì ë°íí©ëë¤. ì´ í¨ìë <function>fgetss</function> í¨ìì ëì¼í + íê·¸ ì ê±° ë°©ìì ì¬ì©í©ëë¤. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>str</parameter></term> + <listitem> <para> - <parameter>allowable_tags</parameter>ì PHP 3.0.13ê³¼ PHP 4.0b3ìì - ì¶ê°ëììµëë¤. PHP 4.3ë¶í° HTML 주ìë ì ê±°í©ëë¤. - </para> - </note> - <warning> + ì ë ¥ 문ìì´. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>allowable_tags</parameter></term> + <listitem> <para> - <function>strip_tags</function>ë HTMLì ì í¨ì±ì ê²ì¬íì§ ì기 ë문ì, - ë¶ë¶ì ì´ê±°ë ê¹¨ì§ íê·¸ë ìì ì¸ì í ì¤í¸/ë°ì´í°ë¥¼ ì ê±°í ì ììµëë¤. + ì íì ì¸ ëë²ì§¸ ì¸ìë¡ ì ê±°íì§ ìì í그를 ì§ì í ì ììµëë¤. </para> - </warning> - </para> - <para> - <example> - <title><function>strip_tags</function> ìì </title> - <programlisting role="php"> + <note> + <para> + HTML 주ìê³¼ PHP íê·¸ë ì ê±°ë©ëë¤. ì´ ëìì íëì½ëëì´ ìì´ì, + <parameter>allowable_tags</parameter>ë¡ ë³ê²½í ì ììµëë¤. + </para> + </note> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + ì ê±°í 문ìì´ì ë°íí©ëë¤. + </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> + <function>strip_tags</function>ë ë°ì´ë리 ìì ì ëë¤ + </entry> + </row> + <row> + <entry>4.3.0</entry> + <entry> + HTML 주ìì íì ì ê±°ë©ëë¤ + </entry> + </row> + <row> + <entry>4.0.0</entry> + <entry> + <parameter>allowable_tags</parameter> ì¸ì ì¶ê° + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>strip_tags</function> ìì </title> + <programlisting role="php"> <![CDATA[ <?php -$text = ' -<p>í ì¤í¸ 문ë¨.</p> -<!-- 주ì --> -ë¤ë¥¸ í ì¤í¸'; - +$text = '<p>í ì¤í¸ 문ë¨.</p><!-- 주ì --> <a +href="#fragment">ë¤ë¥¸ í ì¤í¸</a>'; echo strip_tags($text); +echo "\n"; -echo "\n\n--------\n"; - -// <p>를 íì©. -echo strip_tags($text, '<p>'); +// <p>ì <a>를 íì© +echo strip_tags($text, '<p><a>'); ?> ]]> - </programlisting> - <para> - ì ìì ì ì¶ë ¥ì: - </para> - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ -í ì¤í¸ 문ë¨. - -ë¤ë¥¸ í ì¤í¸ - --------- - -<p>í ì¤í¸ 문ë¨.</p> - -ë¤ë¥¸ í ì¤í¸ +í ì¤í¸ 문ë¨. ë¤ë¥¸ í ì¤í¸ +<p>í ì¤í¸ 문ë¨.</p> <a href="#fragment">ë¤ë¥¸ í ì¤í¸</a> ]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <warning> + <para> + <function>strip_tags</function>ë HTMLì ì í¨ì±ì ê²ì¬íì§ ì기 ë문ì, + ë¶ë¶ì ì´ê±°ë ê¹¨ì§ íê·¸ë ìì ì¸ì í ì¤í¸/ë°ì´í°ë¥¼ ì ê±°í ì ììµëë¤. + </para> + </warning> + <warning> + <para> + ì´ í¨ìë <parameter>allowable_tags</parameter>를 ì¬ì©íì¬ íì©í íê·¸ + ìì ì´ë í ìì±ë ë³ê²½íì§ ììµëë¤. ì ì± ì¬ì©ìê° ë¤ë¥¸ ì¬ì©ììê² + ë³´ì¬ì§ë í ì¤í¸ë¥¼ ê²ìí ë <literal>style</literal>ì´ë + <literal>onmouserover</literal> ìì±ì ì¬ì©íì¬ ì ì©í ì ììµëë¤. + </para> + </warning> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>htmlspecialchars</function></member> + </simplelist> + </para> + </refsect1> - </screen> - </example> - </para> - <warning> - <para> - ì´ í¨ìë <parameter>allowable_tags</parameter>를 ì¬ì©íì¬ íì©í íê·¸ - ìì ì´ë í ìì±ë ë³ê²½íì§ ììµëë¤. ì ì± ì¬ì©ìê° ë¤ë¥¸ ì¬ì©ììê² - ë³´ì¬ì§ë í ì¤í¸ë¥¼ ê²ìí ë <literal>style</literal>ì´ë - <literal>onmouserover</literal> ìì±ì ì¬ì©íì¬ ì ì©í ì ììµëë¤. - </para> - </warning> - <para> - ì°¸ê³ : <function>htmlspecialchars</function>. - </para> - </refsect1> - </refentry> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/stripos.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-kr/reference/strings/functions/stripos.xml diff -u phpdoc-kr/reference/strings/functions/stripos.xml:1.3 phpdoc-kr/reference/strings/functions/stripos.xml:1.4 --- phpdoc-kr/reference/strings/functions/stripos.xml:1.3 Sun Nov 9 18:31:48 2008 +++ phpdoc-kr/reference/strings/functions/stripos.xml Sat Nov 29 22:33:23 2008 @@ -1,40 +1,83 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready --> - <refentry xml:id="function.stripos" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>stripos</refname> - <refpurpose> - ëì문ì를 구ë³íì§ ìê³ ë¬¸ìì´ì´ ì²ì ëíëë ìì¹ë¥¼ ì°¾ìµëë¤. - </refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>int</type><methodname>stripos</methodname> - <methodparam><type>string</type><parameter>haystack</parameter></methodparam> - <methodparam><type>string</type><parameter>needle</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>offset</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>haystack</parameter> <type>string</type>ìì - <parameter>needle</parameter>ì´ ì²ì ëíëë ì ìì¹ë¥¼ ë°íí©ëë¤. - <function>strpos</function>ì ë¬ë¦¬, <function>stripos</function>ë - ëì문ì를 구ë³íì§ ììµëë¤. - </para> - <para> - <parameter>needle</parameter>ë í 문ì ì´ìì 문ìì´ì´ì¬ì¼ í©ëë¤. - </para> - <para> - <parameter>needle</parameter>ì ë°ê²¬íì§ ëª»íë©´, - <function>stripos</function>ë <type>boolean</type> &false;를 ë°íí©ëë¤. - </para> - - &return.falseproblem; - - <para> - <example> - <title><function>stripos</function> ìì </title> - <programlisting role="php"> +<!-- EN-Revision: 1.13 Maintainer: progcom Status: ready --> +<refentry xml:id="function.stripos" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>stripos</refname> + <refpurpose>ëì문ì를 êµ¬ë¶ ìì´ ë¬¸ìì´ì´ ì²ì ëíëë ìì¹ë¥¼ íì</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>stripos</methodname> + <methodparam><type>string</type><parameter>haystack</parameter></methodparam> + <methodparam><type>string</type><parameter>needle</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>offset</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>haystack</parameter> <type>string</type>ìì + <parameter>needle</parameter>ì´ ì²ì ëíëë ìì¹ë¥¼ ë°íí©ëë¤. + </para> + <para> + <function>strpos</function>ì ë¬ë¦¬, <function>stripos</function>ë + ëì문ì를 구ë¶íì§ ììµëë¤. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>haystack</parameter></term> + <listitem> + <para> + ê²ìí 문ìì´ + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>needle</parameter></term> + <listitem> + <para> + <parameter>needle</parameter>ë í 문ì ì´ìì 문ìì´ì´ì¬ì¼ í©ëë¤. + </para> + <para> + <parameter>needle</parameter>ì´ ë¬¸ìì´ì´ ìëë¼ë©´, ì ìë¡ ë³ííì¬ + í´ë¹íë ê°ì 문ì를 ì ì©í©ëë¤. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>offset</parameter></term> + <listitem> + <para> + ì íì ì¸ <parameter>offset</parameter> ì¸ìë¡ + <parameter>haystack</parameter>ì ëªë²ì§¸ 문ììì ê²ìì ììí ì§ ì§ì í + ì ììµëë¤. ë°ííë ìì¹ë <parameter>haystack</parameter>ì ì²ìë¶í° + ì¸ì´ì§ëë¤. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>needle</parameter>ì ë°ê²¬íì§ ëª»íë©´, + <function>stripos</function>ë <type>boolean</type> &false;를 ë°íí©ëë¤. + </para> + &return.falseproblem; + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>stripos</function> ìì </title> + <programlisting role="php"> <![CDATA[ <?php $findme = 'a'; @@ -56,27 +99,33 @@ } ?> ]]> - </programlisting> - </example> - </para> - <para> - <parameter>needle</parameter>ì´ ë¬¸ìì´ì´ ìëë¼ë©´, ì ìë¡ ë³ííì¬, - í´ë¹íë ê°ì 문ìë¡ ì ì©í©ëë¤. - </para> - <para> - ì íì ì¸ <parameter>offset</parameter> ì¸ìë¡ - <parameter>haystack</parameter>ì ëªë²ì§¸ 문ììì ê²ìì ììí ì§ ì§ì í - ì ììµëë¤. ìì¹ë ì¬ì í <parameter>haystack</parameter>ì ì²ìë¶í° - ì¸ì´ì§ëë¤. - </para> - <para> - ì°¸ê³ : <function>strpos</function>, <function>strrpos</function>, - <function>strrchr</function>, <function>substr</function>, - <function>stristr</function>, <function>strstr</function>, - <function>strripos</function>, <function>str_ireplace</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + ¬e.bin-safe; + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>strpos</function></member> + <member><function>strrpos</function></member> + <member><function>strrchr</function></member> + <member><function>substr</function></member> + <member><function>stristr</function></member> + <member><function>strstr</function></member> + <member><function>stripos</function></member> + <member><function>str_ireplace</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/install/pecl.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/install/pecl.xml diff -u phpdoc-kr/install/pecl.xml:1.5 phpdoc-kr/install/pecl.xml:1.6 --- phpdoc-kr/install/pecl.xml:1.5 Mon Nov 17 14:22:38 2008 +++ phpdoc-kr/install/pecl.xml Sat Nov 29 22:33:22 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.20 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.22 Maintainer: progcom Status: ready --> <!-- CREDITS: acidd15 --> <chapter xml:id="install.pecl" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> @@ -40,6 +40,12 @@ <itemizedlist> <listitem> <simpara> + <literal>pecl install extname</literal> ëª ë ¹ì íì¥ ì½ë를 ìëì¼ë¡ + ë´ë ¤ë°ì¼ë¯ë¡, ë°ë¡ ë¤ì´ë¡ë í íìê° ììµëë¤. + </simpara> + </listitem> + <listitem> + <simpara> <link xlink:href="&url.pecl;">&url.pecl;</link> </simpara> <simpara> @@ -73,6 +79,11 @@ $ cvs -d:pserver:cvsread@cvs.php.net:/repository co pecl/extname </screen> </para> + <para> + ëë, <link xlink:href="&url.php.cvs;pecl/">ViewVC</link> ìì¤í ì + ê° ëë í 리 ìì í´ë¹ ìì¤ ì½ë를 ë°ì ì ìë "Download GNU tarball" + ë§í¬ê° ììµëë¤. íìí íì¥ì ì í©í ëë í ë¦¬ë¡ ë¤ì´ê°ì ë´ë ¤ë°ì¼ììì¤. + </para> </listitem> <listitem> <simpara> http://cvs.php.net/viewvc.cgi/phpdoc-kr/language/operators.xml?r1=1.13&r2=1.14&diff_format=u Index: phpdoc-kr/language/operators.xml diff -u phpdoc-kr/language/operators.xml:1.13 phpdoc-kr/language/operators.xml:1.14 --- phpdoc-kr/language/operators.xml:1.13 Sat Nov 29 08:22:15 2008 +++ phpdoc-kr/language/operators.xml Sat Nov 29 22:33:22 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.127 Maintainer: progcom Status: wip --> +<!-- EN-Revision: 1.127 Maintainer: progcom Status: ready --> <chapter xml:id="language.operators" xmlns="http://docbook.org/ns/docbook"> <title>ì°ì°ì</title> <simpara> @@ -998,15 +998,13 @@ </sect1> <sect1 xml:id="language.operators.string"> - <title>String Operators</title> + <title>문ìì´ ì°ì°ì</title> <simpara> - There are two <type>string</type> operators. The first is the - concatenation operator ('.'), which returns the concatenation of its - right and left arguments. The second is the concatenating assignment - operator ('.='), which appends the argument on the ì¤ë¥¸ìª½ side to - the argument on the left side. Please read <link - linkend="language.operators.assignment">Assignment - Operators</link> for more information. + ë ê°ì <type>string</type> ì°ì°ìê° ììµëë¤. 첫ë²ì§¸ë ì°ê²° + ì°ì°ì('.')ë¡, ì¤ë¥¸ìª½ê³¼ ì¼ìª½ ì¸ìì ì°ê²°ì ë°íí©ëë¤. ëë²ì§¸ë ì°ê²° í ë¹ + ì°ì°ì('.=')ë¡, ì¤ë¥¸ìª½ ì¸ì를 ì¼ìª½ ì¸ìì ë§ë¶ì ëë¤. ìì¸í ì ë³´ë <link + linkend="language.operators.assignment">í ë¹ ì°ì°ì</link>를 + ì°¸ê³ íììì¤. </simpara> <para> @@ -1025,63 +1023,61 @@ </informalexample> </para> <para> - See also the manual sections on the - <link linkend="language.types.string">String type</link> and - <link linkend="ref.strings">String functions</link>. + 매ë´ì¼ <link linkend="language.types.string">문ìì´í</link>ê³¼ <link + linkend="ref.strings">문ìì´ í¨ì</link> ì¹ì ì ì°¸ê³ íììì¤. </para> </sect1> <sect1 xml:id="language.operators.array"> - <title>Array Operators</title> + <title>ë°°ì´ ì°ì°ì</title> <table> - <title>Array Operators</title> + <title>ë°°ì´ ì°ì°ì</title> <tgroup cols="3"> <thead> <row> - <entry>Example</entry> - <entry>Name</entry> - <entry>Result</entry> + <entry>ìì </entry> + <entry>ì´ë¦</entry> + <entry>ê²°ê³¼</entry> </row> </thead> <tbody> <row> <entry>$a + $b</entry> <entry>Union</entry> - <entry>Union of $a and $b.</entry> + <entry>$aì $bì í©ì§í©.</entry> </row> <row> <entry>$a == $b</entry> <entry>Equality</entry> - <entry>&true; if $a and $b have the same key/value pairs.</entry> + <entry>$aì $bê° ëì¼í í¤/ê° ìì ê°ì§ë©´ &true;.</entry> </row> <row> <entry>$a === $b</entry> <entry>Identity</entry> - <entry>&true; if $a and $b have the same key/value pairs in the same - order and of the same types.</entry> + <entry>$aì $bê° ëì¼í í¤/ê° ìì ëì¼í ììì ëì¼í ìë£íì¼ë¡ + ê°ì§ë©´ &true;.</entry> </row> <row> <entry>$a != $b</entry> <entry>Inequality</entry> - <entry>&true; if $a is not equal to $b.</entry> + <entry>$aê° $bì ê°ì§ ìì¼ë©´ &true;.</entry> </row> <row> <entry>$a <> $b</entry> <entry>Inequality</entry> - <entry>&true; if $a is not equal to $b.</entry> + <entry>$aê° $bì ê°ì§ ìì¼ë©´ &true;.</entry> </row> <row> <entry>$a !== $b</entry> <entry>Non-identity</entry> - <entry>&true; if $a is not identical to $b.</entry> + <entry>$aê° $bì ëì¼íì§ ìì¼ë©´ &true;.</entry> </row> </tbody> </tgroup> </table> <para> - The <literal>+</literal> operator - appends elements of remaining keys from the ì¤ë¥¸ìª½ handed array to the - ì¼ìª½ handed, whereas duplicated keys are NOT overwritten. + <literal>+</literal> ì°ì°ìë ì¤ë¥¸ìª½ ë°°ì´ìì ì¼ìª½ ë°°ì´ë¡ í¤ë¥¼ ì ì§íë©° + ìì를 ë§ë¶ì ëë¤. ì¤ë³µëë í¤ë¥¼ ë®ì´ì°ì§ ììµëë¤. </para> <para> <informalexample> @@ -1102,7 +1098,7 @@ ]]> </programlisting> </informalexample> - When executed, this script will print the following: + ì¤ííë©´, ì ì¤í¬ë¦½í¸ë ë¤ìì ì¶ë ¥í©ëë¤: <screen role="php"> <![CDATA[ Union of $a and $b: @@ -1127,12 +1123,11 @@ </screen> </para> <para> - Elements of arrays are equal for the comparison if they have the - same key and value. + ëì¼í í¤ì ê°ì ê°ì§ê³ ìì¼ë©´, ë¹êµí ë ê°ì ë°°ì´ ììì ëë¤. </para> <para> <example> - <title>Comparing arrays</title> + <title>ë¹ì´ ë¹êµí기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1147,19 +1142,18 @@ </example> </para> <para> - See also the manual sections on the - <link linkend="language.types.array">Array type</link> and - <link linkend="ref.array">Array functions</link>. + 매ë´ì¼ <link linkend="language.types.array">ë°°ì´í</link>ê³¼ <link + linkend="ref.array">ë°°ì´ í¨ì</link> ì¹ì ì ì°¸ê³ íììì¤. </para> </sect1> <sect1 xml:id="language.operators.type"> - <title>Type Operators</title> + <title>ìë£í ì°ì°ì</title> <para> - <literal>instanceof</literal> is used to determine whether a PHP variable - is an instantiated object of a certain - <link linkend="language.oop5.basic.class">class</link>: + <literal>instanceof</literal>ë PHP ë³ìê° ì´ë¤ <link + linkend="language.oop5.basic.class">í´ëì¤</link>ìì ìì±ë ê°ì²´ì¸ì§ + íì¸í ë ì¬ì©í©ëë¤: <example> - <title>Using instanceof with classes</title> + <title>í´ëì¤ì instanceof ì¬ì©í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1187,10 +1181,10 @@ </example> </para> <para> - <literal>instanceof</literal> can also be used to determine whether a variable - is an instantiated object of a class that inherits from a parent class: + <literal>instanceof</literal>ë ë³ìê° ë¶ëª¨ í´ëì¤ìì ììë°ì í´ëì¤ì¸ì§ + íì¸í ëë ì¬ì©í ì ììµëë¤: <example> - <title>Using instanceof with inherited classes</title> + <title>ìì í´ëì¤ì instanceof ì¬ì©í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1219,12 +1213,12 @@ </example> </para> <para> - To check if an object is <emphasis>not</emphasis> an instanceof a class, the - <link linkend="language.operators.logical">logical <literal>not</literal> - operator</link> can be used. + ê°ì²´ê° í´ëì¤ì ì¸ì¤í´ì¤ê° <emphasis>ìë</emphasis>ì§ íì¸íë ¤ë©´, <link + linkend="language.operators.logical">ë ¼ë¦¬ <literal>not</literal> + ì°ì°ì</link>를 ì¬ì©í ì ììµëë¤. <example> - <title>Using instanceof to check if object is <emphasis>not</emphasis> an - instanceof a class</title> + <title>ê°ì²´ê° í´ëì¤ì ì¸ì¤í´ì¤ê° <emphasis>ìë</emphasis>ì§ íì¸í기 + ìí´ instanceof ì¬ì©í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1246,11 +1240,11 @@ </example> </para> <para> - Lastly, <literal>instanceof</literal> can also be used to determine whether - a variable is an instantiated object of a class that implements an - <link linkend="language.oop5.interfaces">interface</link>: + ë§ì§ë§ì¼ë¡, <literal>instanceof</literal>ë ë³ìê° <link + linkend="language.oop5.interfaces">ì¸í°íì´ì¤</link>를 구íí í´ëì¤ì + ê°ì²´ ì¸ì¤í´ì¤ì¸ì§ íì¸í기 ìí´ ì¬ì©í ì ììµëë¤: <example> - <title>Using instanceof for class</title> + <title>í´ëì¤ì instanceof ì¬ì©í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1279,10 +1273,10 @@ </example> </para> <para> - Although <literal>instanceof</literal> is usually used with a literal classname, - it can also be used with another object or a string variable: + ë³´íµ <literal>instanceof</literal>를 문ì í´ëì¤ëª ì ì¬ì©íì§ë§, ë¤ë¥¸ + ê°ì²´ë 문ìì´ ë³ììë ì¬ì©í ì ììµëë¤: <example> - <title>Using instanceof with other variables</title> + <title>ë¤ë¥¸ ë³ìì instanceof ì¬ì©í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1316,13 +1310,14 @@ </example> </para> <para> - There are a few pitfalls to be aware of. Before PHP version 5.1.0, - <literal>instanceof</literal> would call <link linkend="language.oop5.autoload">__autoload()</link> - if the class name did not exist. In addition, if the class was not loaded, - a fatal error would occur. This can be worked around by using a <literal>dynamic - class reference</literal>, or a string variable containing the class name: + 주ìí´ì¼í í¨ì ì´ ììµëë¤. PHP 5.1.0 ì´ì ì, + <literal>instanceof</literal>ë í´ëì¤ëª ì´ ì¡´ì¬íì§ ìì¼ë©´ <link + linkend="language.oop5.autoload">__autoload()</link>를 í¸ì¶íìµëë¤. + ì¶ê°ë¡, í´ëì¤ê° ì ì¬ëì§ ìì¼ë©´ ì¹ëª ì ì¸ ì¤ë¥ê° ë°ìíìµëë¤. ì´ë + <literal>ëì í´ëì¤ ì°¸ì¡°</literal>를 ì¬ì©íê±°ë, í´ëì¤ëª ì ê°ì§ë 문ìì´ + ë³ìë¡ í´ê²°í ì ììµëë¤: <example> - <title>Avoiding classname lookups and fatal errors with instanceof in PHP 5.0</title> + <title>PHP 5.0 intanceofìì í´ëì¤ëª 찾기ì ì¹ëª ì ì¸ ì¤ë¥ í¼í기</title> <programlisting role="php"> <![CDATA[ <?php @@ -1340,13 +1335,12 @@ </example> </para> <simpara> - The <literal>instanceof</literal> operator was introduced in PHP 5. - Before this time <function>is_a</function> was used but - <function>is_a</function> has since been deprecated in favor of - <literal>instanceof</literal>. + <literal>instanceof</literal> ì°ì°ìë PHP 5ìì ì¶ê°ëììµëë¤. ì´ì ìë + <function>is_a</function>ê° ì¬ì©ëìì§ë§, <function>is_a</function>ë + <literal>instanceof</literal>ì 기ë¥ì¼ë¡ ì¸í´ ë°°ì ëììµëë¤. </simpara> <para> - See also <function>get_class</function> and + ì°¸ê³ : <function>get_class</function>, <function>is_a</function>. </para> </sect1> http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/strip-tags.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-kr/reference/strings/functions/strip-tags.xml diff -u phpdoc-kr/reference/strings/functions/strip-tags.xml:1.6 phpdoc-kr/reference/strings/functions/strip-tags.xml:1.7 --- phpdoc-kr/reference/strings/functions/strip-tags.xml:1.6 Mon Nov 10 07:09:24 2008 +++ phpdoc-kr/reference/strings/functions/strip-tags.xml Sat Nov 29 22:33:23 2008 @@ -1,89 +1,155 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.8 Maintainer: progcom Status: ready --> - <refentry xml:id="function.strip-tags" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>strip_tags</refname> - <refpurpose>문ìì´ìì HTMLê³¼ PHP í그를 ì ê±°í©ëë¤.</refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>string</type><methodname>strip_tags</methodname> - <methodparam><type>string</type><parameter>str</parameter></methodparam> - <methodparam choice="opt"><type>string</type><parameter>allowable_tags</parameter></methodparam> - </methodsynopsis> - <para> - 주ì´ì§ <parameter>str</parameter>ìì 모ë HTMLê³¼ PHP í그를 ì ê±°í - 문ìì´ì ë°íí©ëë¤. ì´ í¨ìë <function>fgetss</function> í¨ìì ëì¼í - íê·¸ ì ê±° ë°©ìì ì¬ì©í©ëë¤. - </para> - <para> - ì íì ì¸ ëë²ì§¸ ì¸ìë¡ ì ê±°íì§ ìì í그를 ì§ì í ì ììµëë¤. - <note> +<!-- EN-Revision: 1.17 Maintainer: progcom Status: ready --> +<refentry xml:id="function.strip-tags" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>strip_tags</refname> + <refpurpose>문ìì´ìì HTMLê³¼ PHP í그를 ì ê±°</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>strip_tags</methodname> + <methodparam><type>string</type><parameter>str</parameter></methodparam> + <methodparam choice="opt"><type>string</type><parameter>allowable_tags</parameter></methodparam> + </methodsynopsis> + <para> + 주ì´ì§ <parameter>str</parameter>ìì 모ë HTMLê³¼ PHP í그를 ì ê±°í + 문ìì´ì ë°íí©ëë¤. ì´ í¨ìë <function>fgetss</function> í¨ìì ëì¼í + íê·¸ ì ê±° ë°©ìì ì¬ì©í©ëë¤. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>str</parameter></term> + <listitem> <para> - <parameter>allowable_tags</parameter>ì PHP 3.0.13ê³¼ PHP 4.0b3ìì - ì¶ê°ëììµëë¤. PHP 4.3ë¶í° HTML 주ìë ì ê±°í©ëë¤. - </para> - </note> - <warning> + ì ë ¥ 문ìì´. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>allowable_tags</parameter></term> + <listitem> <para> - <function>strip_tags</function>ë HTMLì ì í¨ì±ì ê²ì¬íì§ ì기 ë문ì, - ë¶ë¶ì ì´ê±°ë ê¹¨ì§ íê·¸ë ìì ì¸ì í ì¤í¸/ë°ì´í°ë¥¼ ì ê±°í ì ììµëë¤. + ì íì ì¸ ëë²ì§¸ ì¸ìë¡ ì ê±°íì§ ìì í그를 ì§ì í ì ììµëë¤. </para> - </warning> - </para> - <para> - <example> - <title><function>strip_tags</function> ìì </title> - <programlisting role="php"> + <note> + <para> + HTML 주ìê³¼ PHP íê·¸ë ì ê±°ë©ëë¤. ì´ ëìì íëì½ëëì´ ìì´ì, + <parameter>allowable_tags</parameter>ë¡ ë³ê²½í ì ììµëë¤. + </para> + </note> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + ì ê±°í 문ìì´ì ë°íí©ëë¤. + </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> + <function>strip_tags</function>ë ë°ì´ë리 ìì ì ëë¤ + </entry> + </row> + <row> + <entry>4.3.0</entry> + <entry> + HTML 주ìì íì ì ê±°ë©ëë¤ + </entry> + </row> + <row> + <entry>4.0.0</entry> + <entry> + <parameter>allowable_tags</parameter> ì¸ì ì¶ê° + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>strip_tags</function> ìì </title> + <programlisting role="php"> <![CDATA[ <?php -$text = ' -<p>í ì¤í¸ 문ë¨.</p> -<!-- 주ì --> -ë¤ë¥¸ í ì¤í¸'; - +$text = '<p>í ì¤í¸ 문ë¨.</p><!-- 주ì --> <a +href="#fragment">ë¤ë¥¸ í ì¤í¸</a>'; echo strip_tags($text); +echo "\n"; -echo "\n\n--------\n"; - -// <p>를 íì©. -echo strip_tags($text, '<p>'); +// <p>ì <a>를 íì© +echo strip_tags($text, '<p><a>'); ?> ]]> - </programlisting> - <para> - ì ìì ì ì¶ë ¥ì: - </para> - <screen> + </programlisting> + &example.outputs; + <screen> <![CDATA[ -í ì¤í¸ 문ë¨. - -ë¤ë¥¸ í ì¤í¸ - --------- - -<p>í ì¤í¸ 문ë¨.</p> - -ë¤ë¥¸ í ì¤í¸ +í ì¤í¸ 문ë¨. ë¤ë¥¸ í ì¤í¸ +<p>í ì¤í¸ 문ë¨.</p> <a href="#fragment">ë¤ë¥¸ í ì¤í¸</a> ]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <warning> + <para> + <function>strip_tags</function>ë HTMLì ì í¨ì±ì ê²ì¬íì§ ì기 ë문ì, + ë¶ë¶ì ì´ê±°ë ê¹¨ì§ íê·¸ë ìì ì¸ì í ì¤í¸/ë°ì´í°ë¥¼ ì ê±°í ì ììµëë¤. + </para> + </warning> + <warning> + <para> + ì´ í¨ìë <parameter>allowable_tags</parameter>를 ì¬ì©íì¬ íì©í íê·¸ + ìì ì´ë í ìì±ë ë³ê²½íì§ ììµëë¤. ì ì± ì¬ì©ìê° ë¤ë¥¸ ì¬ì©ììê² + ë³´ì¬ì§ë í ì¤í¸ë¥¼ ê²ìí ë <literal>style</literal>ì´ë + <literal>onmouserover</literal> ìì±ì ì¬ì©íì¬ ì ì©í ì ììµëë¤. + </para> + </warning> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>htmlspecialchars</function></member> + </simplelist> + </para> + </refsect1> - </screen> - </example> - </para> - <warning> - <para> - ì´ í¨ìë <parameter>allowable_tags</parameter>를 ì¬ì©íì¬ íì©í íê·¸ - ìì ì´ë í ìì±ë ë³ê²½íì§ ììµëë¤. ì ì± ì¬ì©ìê° ë¤ë¥¸ ì¬ì©ììê² - ë³´ì¬ì§ë í ì¤í¸ë¥¼ ê²ìí ë <literal>style</literal>ì´ë - <literal>onmouserover</literal> ìì±ì ì¬ì©íì¬ ì ì©í ì ììµëë¤. - </para> - </warning> - <para> - ì°¸ê³ : <function>htmlspecialchars</function>. - </para> - </refsect1> - </refentry> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/stripos.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-kr/reference/strings/functions/stripos.xml diff -u phpdoc-kr/reference/strings/functions/stripos.xml:1.3 phpdoc-kr/reference/strings/functions/stripos.xml:1.4 --- phpdoc-kr/reference/strings/functions/stripos.xml:1.3 Sun Nov 9 18:31:48 2008 +++ phpdoc-kr/reference/strings/functions/stripos.xml Sat Nov 29 22:33:23 2008 @@ -1,40 +1,83 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready --> - <refentry xml:id="function.stripos" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>stripos</refname> - <refpurpose> - ëì문ì를 구ë³íì§ ìê³ ë¬¸ìì´ì´ ì²ì ëíëë ìì¹ë¥¼ ì°¾ìµëë¤. - </refpurpose> - </refnamediv> - <refsect1> - <title>ì¤ëª </title> - <methodsynopsis> - <type>int</type><methodname>stripos</methodname> - <methodparam><type>string</type><parameter>haystack</parameter></methodparam> - <methodparam><type>string</type><parameter>needle</parameter></methodparam> - <methodparam choice="opt"><type>int</type><parameter>offset</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>haystack</parameter> <type>string</type>ìì - <parameter>needle</parameter>ì´ ì²ì ëíëë ì ìì¹ë¥¼ ë°íí©ëë¤. - <function>strpos</function>ì ë¬ë¦¬, <function>stripos</function>ë - ëì문ì를 구ë³íì§ ììµëë¤. - </para> - <para> - <parameter>needle</parameter>ë í 문ì ì´ìì 문ìì´ì´ì¬ì¼ í©ëë¤. - </para> - <para> - <parameter>needle</parameter>ì ë°ê²¬íì§ ëª»íë©´, - <function>stripos</function>ë <type>boolean</type> &false;를 ë°íí©ëë¤. - </para> - - &return.falseproblem; - - <para> - <example> - <title><function>stripos</function> ìì </title> - <programlisting role="php"> +<!-- EN-Revision: 1.13 Maintainer: progcom Status: ready --> +<refentry xml:id="function.stripos" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>stripos</refname> + <refpurpose>ëì문ì를 êµ¬ë¶ ìì´ ë¬¸ìì´ì´ ì²ì ëíëë ìì¹ë¥¼ íì</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>int</type><methodname>stripos</methodname> + <methodparam><type>string</type><parameter>haystack</parameter></methodparam> + <methodparam><type>string</type><parameter>needle</parameter></methodparam> + <methodparam choice="opt"><type>int</type><parameter>offset</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>haystack</parameter> <type>string</type>ìì + <parameter>needle</parameter>ì´ ì²ì ëíëë ìì¹ë¥¼ ë°íí©ëë¤. + </para> + <para> + <function>strpos</function>ì ë¬ë¦¬, <function>stripos</function>ë + ëì문ì를 구ë¶íì§ ììµëë¤. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>haystack</parameter></term> + <listitem> + <para> + ê²ìí 문ìì´ + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>needle</parameter></term> + <listitem> + <para> + <parameter>needle</parameter>ë í 문ì ì´ìì 문ìì´ì´ì¬ì¼ í©ëë¤. + </para> + <para> + <parameter>needle</parameter>ì´ ë¬¸ìì´ì´ ìëë¼ë©´, ì ìë¡ ë³ííì¬ + í´ë¹íë ê°ì 문ì를 ì ì©í©ëë¤. + </para> + </listitem> + </varlistentry> + <varlistentry> + <term><parameter>offset</parameter></term> + <listitem> + <para> + ì íì ì¸ <parameter>offset</parameter> ì¸ìë¡ + <parameter>haystack</parameter>ì ëªë²ì§¸ 문ììì ê²ìì ììí ì§ ì§ì í + ì ììµëë¤. ë°ííë ìì¹ë <parameter>haystack</parameter>ì ì²ìë¶í° + ì¸ì´ì§ëë¤. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>needle</parameter>ì ë°ê²¬íì§ ëª»íë©´, + <function>stripos</function>ë <type>boolean</type> &false;를 ë°íí©ëë¤. + </para> + &return.falseproblem; + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>stripos</function> ìì </title> + <programlisting role="php"> <![CDATA[ <?php $findme = 'a'; @@ -56,27 +99,33 @@ } ?> ]]> - </programlisting> - </example> - </para> - <para> - <parameter>needle</parameter>ì´ ë¬¸ìì´ì´ ìëë¼ë©´, ì ìë¡ ë³ííì¬, - í´ë¹íë ê°ì 문ìë¡ ì ì©í©ëë¤. - </para> - <para> - ì íì ì¸ <parameter>offset</parameter> ì¸ìë¡ - <parameter>haystack</parameter>ì ëªë²ì§¸ 문ììì ê²ìì ììí ì§ ì§ì í - ì ììµëë¤. ìì¹ë ì¬ì í <parameter>haystack</parameter>ì ì²ìë¶í° - ì¸ì´ì§ëë¤. - </para> - <para> - ì°¸ê³ : <function>strpos</function>, <function>strrpos</function>, - <function>strrchr</function>, <function>substr</function>, - <function>stristr</function>, <function>strstr</function>, - <function>strripos</function>, <function>str_ireplace</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + ¬e.bin-safe; + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>strpos</function></member> + <member><function>strrpos</function></member> + <member><function>strrchr</function></member> + <member><function>substr</function></member> + <member><function>stristr</function></member> + <member><function>strstr</function></member> + <member><function>stripos</function></member> + <member><function>str_ireplace</function></member> + </simplelist> + </para> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: