cvs: phpdoc-kr /reference/dir/functions class.dir.xml closedir.xml readdir.xml rewinddir.xml /reference/math/functions acosh.xml asinh.xml atanh.xml
floor.xml is-nan.xml sqrt.xml

From: Date: Tue, 11 Nov 2008 07:33:48 +0000
Subject: cvs: phpdoc-kr /reference/dir/functions class.dir.xml closedir.xml readdir.xml rewinddir.xml /reference/math/functions acosh.xml asinh.xml atanh.xml
floor.xml is-nan.xml sqrt.xml
Groups: php.doc.kr 
Request: Send a blank email to doc-kr+get-764@lists.php.net to get a copy of this message
progcom Tue Nov 11 07:33:48 2008 UTC Modified files: /phpdoc-kr/reference/dir/functions class.dir.xml closedir.xml readdir.xml rewinddir.xml /phpdoc-kr/reference/math/functions acosh.xml asinh.xml atanh.xml floor.xml is-nan.xml sqrt.xml Log: sync

http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/dir/functions/class.dir.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/reference/dir/functions/class.dir.xml diff -u phpdoc-kr/reference/dir/functions/class.dir.xml:1.5 phpdoc-kr/reference/dir/functions/class.dir.xml:1.6 --- phpdoc-kr/reference/dir/functions/class.dir.xml:1.5 Sat Jun 23 13:51:38 2007 +++ phpdoc-kr/reference/dir/functions/class.dir.xml Tue Nov 11 07:33:48 2008 @@ -1,75 +1,91 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> - <refentry xml:id="class.dir" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>dir</refname> - <refpurpose>디렉토리 클래스</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <classsynopsis> - <ooclass><classname>dir</classname></ooclass> - <constructorsynopsis> - <methodname>dir</methodname> - <methodparam><type>string</type><parameter>directory</parameter></methodparam> - </constructorsynopsis> - <fieldsynopsis> - <type>string</type><varname>path</varname> - </fieldsynopsis> - <fieldsynopsis> - <type>resource</type><varname>handle</varname> - </fieldsynopsis> - <methodsynopsis><type>string</type><methodname>read</methodname><void/></methodsynopsis> - <methodsynopsis><type>void</type><methodname>rewind</methodname><void/></methodsynopsis> - <methodsynopsis><type>void</type><methodname>close</methodname><void/></methodsynopsis> - </classsynopsis> - <para> - 디렉토리를 읽는 모조-객체 기반 방법입니다. 주어진 - <parameter>directory</parameter>를 엽니다. 열려진 디렉토리에 사용할 수 - 있는 두가지 속성이 존재합니다. handle 속성은 - <function>readdir</function>, <function>rewinddir</function>, - <function>closedir</function> 등의 다른 디렉토리 함수에 사용할 수 - 있습니다. path 속성에은 열려진 디렉토리의 경로가 지정됩니다. 세가지 - 메쏘드를 사용할 수 있습니다: read, rewind, close. - </para> +<!-- EN-Revision: 1.14 Maintainer: progcom Status: ready --> +<refentry xml:id="class.dir" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>dir</refname> + <refpurpose>디렉토리 클래스의 인스턴스를 반환합니다</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <classsynopsis> + <ooclass><classname>Directory</classname></ooclass> + <classsynopsisinfo> + <ooclass> + <classname>Directory</classname> + </ooclass> + </classsynopsisinfo> + <fieldsynopsis> + <type>string</type><varname>path</varname> + </fieldsynopsis> + <fieldsynopsis> + <type>resource</type><varname>handle</varname> + </fieldsynopsis> + <methodsynopsis><type>string</type><methodname>Directory::read</methodname><void/></methodsynopsis> + <methodsynopsis><type>void</type><methodname>Directory::rewind</methodname><void/></methodsynopsis> + <methodsynopsis><type>void</type><methodname>Directory::close</methodname><void/></methodsynopsis> + </classsynopsis> + <para> + 디렉토리를 읽는 모의-객체 기반 방법입니다. 주어진 + <parameter>directory</parameter>를 엽니다. 열려진 디렉토리에 사용할 수 + 있는 두가지 프로퍼티가 존재합니다. handle 프로퍼티는 + <function>readdir</function>, <function>rewinddir</function>, + <function>closedir</function> 등의 다른 디렉토리 함수에 사용할 수 + 있습니다. path 프로퍼티는 열려진 디렉토리의 경로가 지정됩니다. 세가지 + 메쏘드를 사용할 수 있습니다: read, rewind, close. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>dir</function> 예제</title> <para> - <function>dir</function>의 반환값은 아래 예제처럼 확인해야 하는 점에 - 주의하십시오. 반환값이 &false;와 완전히 동일한지 (형까지 같게--자세한 + <function>dir::read</function>의 반환값은 아래 예제처럼 확인해야 하는 점에 + 주의하십시오. 반환값이 &false;와 완전히 동일한지 (형까지 같게 - 자세한 정보는 <link linkend="language.operators.comparison">비교 - 연산자</link>를 참고하십시오) 확인하고 있습니다. 이렇게 하지 않으면, + 연산자</link>를 참조) 확인하고 있습니다. 이렇게 하지 않으면, &false;로 판단할 수 있는 이름을 가진 디렉토리 엔트리에서 루프가 멈춥니다. - <example> - <title><function>dir</function> 예제</title> - <programlisting role="php"> + </para> + <programlisting role="php"> <![CDATA[ <?php -$d = dir("/etc"); -echo "Handle: " . $d->handle . "<br />\n"; -echo "Path: " . $d->path . "<br />\n"; +$d = dir("/etc/php5"); +echo "Handle: " . $d->handle . "\n"; +echo "Path: " . $d->path . "\n"; while (false !== ($entry = $d->read())) { - echo $entry."<br />\n"; + echo $entry."\n"; } $d->close(); ?> ]]> - </programlisting> - </example> - </para> - <note> - <para> - read 메쏘드가 반환하는 디렉토리 엔트리의 순서는 시스템 의존적입니다. - </para> - </note> - <note> - <para> - 이는 내부적으로 <classname>Directory</classname> 클래스를 정의하기에, 이 - 이름을 가지는 클래스를 정의할 수 없습니다. PHP에 미리 정의된 클래스의 - 전체 목록은 <link linkend="reserved.classes">미리 정의된 클래스</link>를 - 참고하십시오. - </para> - </note> - </refsect1> - </refentry> + </programlisting> + &example.outputs.similar; + <screen> +<![CDATA[ +Handle: Resource id #2 +Path: /etc/php5 +. +.. +apache +cgi +cli +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + read 메쏘드가 반환하는 디렉토리 엔트리의 순서는 시스템에 의존합니다. + </para> + </note> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/dir/functions/closedir.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/dir/functions/closedir.xml diff -u phpdoc-kr/reference/dir/functions/closedir.xml:1.4 phpdoc-kr/reference/dir/functions/closedir.xml:1.5 --- phpdoc-kr/reference/dir/functions/closedir.xml:1.4 Sat Jun 23 13:51:38 2007 +++ phpdoc-kr/reference/dir/functions/closedir.xml Tue Nov 11 07:33:48 2008 @@ -1,22 +1,63 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.2 Maintainer: progcom Status: ready --> - <refentry xml:id="function.closedir" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>closedir</refname> - <refpurpose>디렉토리 핸들을 닫습니다.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>void</type><methodname>closedir</methodname> - <methodparam><type>resource</type><parameter>dir_handle</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>dir_handle</parameter>가 지시하는 디렉토리 스트림을 닫습니다. - 스트림은 <function>opendir</function>로 열려 있는 것이여야 합니다. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.9 Maintainer: progcom Status: ready --> +<refentry xml:id="function.closedir" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>closedir</refname> + <refpurpose>디렉토리 핸들을 닫습니다</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>closedir</methodname> + <methodparam choice="opt"><type>resource</type><parameter>dir_handle</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>dir_handle</parameter>가 지시하는 디렉토리 스트림을 닫습니다. + 스트림은 <function>opendir</function>로 열려 있는 것이여야 합니다. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>dir_handle</parameter></term> + <listitem> + <para> + <function>opendir</function>로 열린 디렉토리 핸들 + <type>resource</type>. 디렉토리 핸들이 지정되지 않으면, + <function>opendir</function>로 열린 마지막 연결을 할당합니다. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>closedir</function> 예제</title> + <programlisting role="php"> +<![CDATA[ +<?php +// 디렉토리를 열고, 읽어서 변수로 넣고 닫습니다. +if (is_dir($dir)) { + if ($dh = opendir($dir)) { + $directory = readdir($dh); + closedir($dh); + } +} +?> +]]> + </programlisting> + </example> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/dir/functions/readdir.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/dir/functions/readdir.xml diff -u phpdoc-kr/reference/dir/functions/readdir.xml:1.4 phpdoc-kr/reference/dir/functions/readdir.xml:1.5 --- phpdoc-kr/reference/dir/functions/readdir.xml:1.4 Sat Jun 23 13:51:38 2007 +++ phpdoc-kr/reference/dir/functions/readdir.xml Tue Nov 11 07:33:48 2008 @@ -1,20 +1,54 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> - <refentry xml:id="function.readdir" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>readdir</refname> - <refpurpose>디렉토리 핸들에서 엔트리를 읽습니다.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>string</type><methodname>readdir</methodname> - <methodparam><type>resource</type><parameter>dir_handle</parameter></methodparam> - </methodsynopsis> - <para> - 디렉토리에서 다음 파일의 파일명을 반환합니다. 반환하는 파일명의 순서는 - 파일시스템에 저장한 순서입니다. - </para> +<!-- EN-Revision: 1.13 Maintainer: progcom Status: ready --> +<refentry xml:id="function.readdir" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>readdir</refname> + <refpurpose>디렉토리 핸들에서 엔트리를 읽습니다</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>string</type><methodname>readdir</methodname> + <methodparam choice="opt"><type>resource</type><parameter>dir_handle</parameter></methodparam> + </methodsynopsis> + <para> + 디렉토리에서 다음 파일의 파일명을 반환합니다. 반환하는 파일명의 순서는 + 파일시스템에 저장한 순서입니다. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>dir_handle</parameter></term> + <listitem> + <para> + <function>opendir</function>로 열린 디렉토리 핸들 + <type>resource</type>. 디렉토리 핸들이 지정되지 않으면, + <function>opendir</function>로 열린 마지막 연결을 할당합니다. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + 성공시에는 파일명, 실패시에는 &false;를 반환합니다. + </para> + &return.falseproblem; + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title>디렉토리 안의 모든 파일 목록</title> <para> <function>readdir</function>의 반환값은 아래 예제체럼 확인해야 하는 점에 주의하십시오. 반환값이 &false;와 완전히 동일한지 (형까지 일치--자세한 @@ -22,10 +56,7 @@ 참고하십시오) 확인하고 있습니다. 이렇게 하지 않으면, &false;로 인식하는 디렉토리 엔트리에서 루프가 멈춥니다. (예. 디렉토리 이름이 "0") </para> - <para> - <example> - <title>디렉토리 안의 모든 파일 목록</title> - <programlisting role="php"> + <programlisting role="php"> <![CDATA[ <?php // !== 은 4.0.0-RC2까지 존재하지 않았던 점에 주의하십시오. @@ -35,12 +66,12 @@ echo "Files:\n"; /* 디렉토리 안을 루프하는 올바른 방법입니다. */ - while (false !== ($file = readdir($handle))) { + while (false !== ($file = readdir($handle))) { echo "$file\n"; } - /* 디렉토리 안을 루프하는 *틀린* 방법입니다. */ - while ($file = readdir($handle)) { + /* 디렉토리 안을 루프하는 *잘못된* 방법입니다. */ + while ($file = readdir($handle)) { echo "$file\n"; } @@ -48,40 +79,45 @@ } ?> ]]> - </programlisting> - </example> - </para> - <para> - <function>readdir</function>이 <literal>.</literal>과 - <literal>..</literal>을 반환하는 점에 주의하십시오. 이들이 필요하지 - 않으면 간단히 제거할 수 있습니다: - <example> - <title> - <literal>.</literal>과 <literal>..</literal>을 제외한 현재 디렉토리의 - 모든 파일 목록 - </title> - <programlisting role="php"> + </programlisting> + </example> + </para> + <para> + <example> + <title> + <literal>.</literal>과 <literal>..</literal>을 제외한 현재 디렉토리의 + 모든 파일 목록 + </title> + <programlisting role="php"> <![CDATA[ -<?php +<?php if ($handle = opendir('.')) { - while (false !== ($file = readdir($handle))) { - if ($file != "." && $file != "..") { - echo "$file\n"; - } + while (false !== ($file = readdir($handle))) { + if ($file != "." && $file != "..") { + echo "$file\n"; + } } - closedir($handle); + closedir($handle); } ?> ]]> - </programlisting> - </example> - </para> - <para> - 참고: <function>is_dir</function>, - <function>glob</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>is_dir</function></member> + <member><function>glob</function></member> + <member><function>opendir</function></member> + <member><function>scandir</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/dir/functions/rewinddir.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/dir/functions/rewinddir.xml diff -u phpdoc-kr/reference/dir/functions/rewinddir.xml:1.4 phpdoc-kr/reference/dir/functions/rewinddir.xml:1.5 --- phpdoc-kr/reference/dir/functions/rewinddir.xml:1.4 Sat Jun 23 13:51:38 2007 +++ phpdoc-kr/reference/dir/functions/rewinddir.xml Tue Nov 11 07:33:48 2008 @@ -1,23 +1,41 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.2 Maintainer: progcom Status: ready --> - <refentry xml:id="function.rewinddir" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>rewinddir</refname> - <refpurpose>디렉토리 핸들을 되감습니다.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>void</type><methodname>rewinddir</methodname> - <methodparam><type>resource</type><parameter>dir_handle</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>dir_handle</parameter>에 지정한 디렉토리 핸들을 디렉토리의 - 처음 위치로 되돌립니다. - </para> +<!-- EN-Revision: 1.8 Maintainer: progcom Status: ready --> +<refentry xml:id="function.rewinddir" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>rewinddir</refname> + <refpurpose>디렉토리 핸들을 되감습니다</refpurpose> + </refnamediv> - </refsect1> - </refentry> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>rewinddir</methodname> + <methodparam choice="opt"><type>resource</type><parameter>dir_handle</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>dir_handle</parameter>에 지정한 디렉토리 핸들을 디렉토리의 + 처음 위치로 되돌립니다. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>dir_handle</parameter></term> + <listitem> + <para> + <function>opendir</function>로 열린 디렉토리 핸들 + <type>resource</type>. 디렉토리 핸들이 지정되지 않으면, + <function>opendir</function>로 열린 마지막 연결을 할당합니다. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/math/functions/acosh.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/math/functions/acosh.xml diff -u phpdoc-kr/reference/math/functions/acosh.xml:1.4 phpdoc-kr/reference/math/functions/acosh.xml:1.5 --- phpdoc-kr/reference/math/functions/acosh.xml:1.4 Sat Jun 23 13:51:39 2007 +++ phpdoc-kr/reference/math/functions/acosh.xml Tue Nov 11 07:33:48 2008 @@ -1,29 +1,77 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready --> - <refentry xml:id="function.acosh" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>acosh</refname> - <refpurpose>역 쌍곡선 코사인</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>float</type><methodname>acosh</methodname> - <methodparam><type>float</type><parameter>arg</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>arg</parameter>의 역 쌍곡선 코사인 값을 반환합니다. - 즉, 반환값의 쌍곡선 코사인은 <parameter>arg</parameter>가 됩니다. - </para> - &note.no-windows; - <para> - 참고: - <function>acos</function>, - <function>asinh</function>, - <function>atanh</function>. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.9 Maintainer: progcom Status: ready --> +<refentry xml:id="function.acosh" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>acosh</refname> + <refpurpose>역쌍곡코사인</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>acosh</methodname> + <methodparam><type>float</type><parameter>arg</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>arg</parameter>의 역쌍곡코사인 값을 반환합니다. + 즉, 반환값의 쌍곡코사인은 <parameter>arg</parameter>가 됩니다. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>arg</parameter></term> + <listitem> + <para> + 처리할 인수 + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>arg</parameter>의 역쌍곡코사인 + </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.3.0</entry> + <entry> + 모든 플랫폼에서 이 함수를 사용할 수 있게 되었습니다. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>cosh</function></member> + <member><function>acos</function></member> + <member><function>asinh</function></member> + <member><function>atanh</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/math/functions/asinh.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/math/functions/asinh.xml diff -u phpdoc-kr/reference/math/functions/asinh.xml:1.4 phpdoc-kr/reference/math/functions/asinh.xml:1.5 --- phpdoc-kr/reference/math/functions/asinh.xml:1.4 Sat Jun 23 13:51:39 2007 +++ phpdoc-kr/reference/math/functions/asinh.xml Tue Nov 11 07:33:48 2008 @@ -1,29 +1,77 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready --> - <refentry xml:id="function.asinh" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>asinh</refname> - <refpurpose>역 쌍곡선 사인</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>float</type><methodname>asinh</methodname> - <methodparam><type>float</type><parameter>arg</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>arg</parameter>의 역 쌍곡선 사인값을 반환합니다. - 즉, 반환값의 쌍곡선 사인은 <parameter>arg</parameter>가 됩니다. - </para> - &note.no-windows; - <para> - 참고: - <function>asin</function>, - <function>acosh</function>, - <function>atanh</function>. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.10 Maintainer: progcom Status: ready --> +<refentry xml:id="function.asinh" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>asinh</refname> + <refpurpose>역쌍곡사인</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>asinh</methodname> + <methodparam><type>float</type><parameter>arg</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>arg</parameter>의 역쌍곡사인 값을 반환합니다. + 즉, 반환값의 쌍곡사인은 <parameter>arg</parameter>가 됩니다. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>arg</parameter></term> + <listitem> + <para> + 처리할 인수 + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>arg</parameter>의 역쌍곡사인 + </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.3.0</entry> + <entry> + 모든 플랫폼에서 이 함수를 사용할 수 있게 되었습니다. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>sinh</function></member> + <member><function>asin</function></member> + <member><function>acosh</function></member> + <member><function>atanh</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/math/functions/atanh.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/math/functions/atanh.xml diff -u phpdoc-kr/reference/math/functions/atanh.xml:1.4 phpdoc-kr/reference/math/functions/atanh.xml:1.5 --- phpdoc-kr/reference/math/functions/atanh.xml:1.4 Sat Jun 23 13:51:39 2007 +++ phpdoc-kr/reference/math/functions/atanh.xml Tue Nov 11 07:33:48 2008 @@ -1,29 +1,77 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready --> - <refentry xml:id="function.atanh" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>atanh</refname> - <refpurpose>역 쌍곡선 탄젠트</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>float</type><methodname>atanh</methodname> - <methodparam><type>float</type><parameter>arg</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>arg</parameter>의 역 쌍곡선 탄젠트 값을 반환합니다. - 즉, 반환값의 쌍곡선 탄젠트는 <parameter>arg</parameter>가 됩니다. - </para> - &note.no-windows; - <para> - 참고: - <function>atan</function>, - <function>asinh</function>, - <function>acosh</function>. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.11 Maintainer: progcom Status: ready --> +<refentry xml:id="function.atanh" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>atanh</refname> + <refpurpose>역쌍곡탄젠트</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>atanh</methodname> + <methodparam><type>float</type><parameter>arg</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>arg</parameter>의 역쌍곡탄젠트 값을 반환합니다. + 즉, 반환값의 쌍곡탄젠트는 <parameter>arg</parameter>가 됩니다. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>arg</parameter></term> + <listitem> + <para> + 처리할 인수 + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>arg</parameter>의 역쌍곡탄젠트 + </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.3.0</entry> + <entry> + 모든 플랫폼에서 이 함수를 사용할 수 있게 되었습니다. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>tanh</function></member> + <member><function>atan</function></member> + <member><function>asinh</function></member> + <member><function>acosh</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/math/functions/floor.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/reference/math/functions/floor.xml diff -u phpdoc-kr/reference/math/functions/floor.xml:1.5 phpdoc-kr/reference/math/functions/floor.xml:1.6 --- phpdoc-kr/reference/math/functions/floor.xml:1.5 Sat Jun 23 13:51:39 2007 +++ phpdoc-kr/reference/math/functions/floor.xml Tue Nov 11 07:33:48 2008 @@ -1,42 +1,72 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> - <refentry xml:id="function.floor" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>floor</refname> - <refpurpose>소수점 내림</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>float</type><methodname>floor</methodname> - <methodparam><type>float</type><parameter>value</parameter></methodparam> - </methodsynopsis> - <simpara> - 필요할 경우 <parameter>value</parameter>를 소수점 내림한 - 다음으로 가장 작은 정수를 반환합니다. - 보통 <type>float</type>의 범위가 <type>integer</type>의 범위보다 - 크기 때문에, <function>floor</function>의 반환값은 여전히 - <type>float</type>를 유지합니다. - </simpara> - <para> - <example> - <title><function>floor</function> 예제</title> - <programlisting role="php"> +<!-- EN-Revision: 1.12 Maintainer: progcom Status: ready --> +<refentry xml:id="function.floor" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>floor</refname> + <refpurpose>소수점 아래 내림</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>floor</methodname> + <methodparam><type>float</type><parameter>value</parameter></methodparam> + </methodsynopsis> + <simpara> + 필요할 경우 <parameter>value</parameter>를 소수점 아래 내림하여 + 다음으로 작은 정수를 반환합니다. + </simpara> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>value</parameter></term> + <listitem> + <para> + 내림할 숫자 값 + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>value</parameter>를 내린 정수. + 일반적으로 <type>float</type> 범위가 <type>integer</type> 범위보다 + 넓기 때문에, <function>floor</function>의 반환값은 여전히 + <type>float</type>를 유지합니다. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>floor</function> 예제</title> + <programlisting role="php"> <![CDATA[ <?php echo floor(4.3); // 4 echo floor(9.999); // 9 +echo floor(-3.14); // -4 ?> ]]> - </programlisting> - </example> - </para> - <simpara> - 참고: <function>ceil</function>, <function>round</function>. - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ceil</function></member> + <member><function>round</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/math/functions/is-nan.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/reference/math/functions/is-nan.xml diff -u phpdoc-kr/reference/math/functions/is-nan.xml:1.5 phpdoc-kr/reference/math/functions/is-nan.xml:1.6 --- phpdoc-kr/reference/math/functions/is-nan.xml:1.5 Sat Jun 23 13:51:40 2007 +++ phpdoc-kr/reference/math/functions/is-nan.xml Tue Nov 11 07:33:48 2008 @@ -1,26 +1,84 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready --> - <refentry xml:id='function.is-nan' xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>is_nan</refname> - <refpurpose>값이 수가 아닌지 확인합니다.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>bool</type><methodname>is_nan</methodname> - <methodparam><type>float</type><parameter>val</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>val</parameter>가 숫자가 아닐(not a number) 경우 &true;를 - 반환합니다. <literal>acos(1.01)</literal>의 결과 등이 해당합니다. - </para> - <para> - 참고: <function>is_finite</function>, <function>is_infinite</function>. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.9 Maintainer: progcom Status: ready --> +<refentry xml:id='function.is-nan' xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>is_nan</refname> + <refpurpose>값이 수가 아닌지 확인합니다</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>is_nan</methodname> + <methodparam><type>float</type><parameter>val</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>val</parameter>이 '숫자가 아닌'지 확인합니다. + <literal>acos(1.01)</literal>의 결과 등은 숫자가 아닙니다. + </para> + </refsect1> + + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>val</parameter></term> + <listitem> + <para> + 확인할 값 + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>val</parameter>이 '숫자가 아닐' 경우 &true;, 아니면 &false;를 + 반환합니다. + </para> + </refsect1> + + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>is_nan</function> 예제</title> + <programlisting role="php"> +<![CDATA[ +// NaN을 반환하는 +// 잘못된 계산 +$nan = acos(8); + +var_dump($nan, is_nan($nan)); +?> +]]> + </programlisting> + &example.outputs; + <screen> +<![CDATA[ +float(NaN) +bool(true) +]]> + </screen> + </example> + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>in_finite</function></member> + <member><function>in_infinite</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/math/functions/sqrt.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-kr/reference/math/functions/sqrt.xml diff -u phpdoc-kr/reference/math/functions/sqrt.xml:1.6 phpdoc-kr/reference/math/functions/sqrt.xml:1.7 --- phpdoc-kr/reference/math/functions/sqrt.xml:1.6 Sat Jun 23 13:51:40 2007 +++ phpdoc-kr/reference/math/functions/sqrt.xml Tue Nov 11 07:33:48 2008 @@ -1,23 +1,48 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> - <refentry xml:id="function.sqrt" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>sqrt</refname> - <refpurpose>평방 제곱근</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>float</type><methodname>sqrt</methodname> - <methodparam><type>float</type><parameter>arg</parameter></methodparam> - </methodsynopsis> - <para> - <parameter>arg</parameter>의 평방제곱근을 반환합니다. - </para> - <para> - <example> - <title><function>sqrt</function> 예제</title> - <programlisting role="php"> +<!-- EN-Revision: 1.10 Maintainer: progcom Status: ready --> +<refentry xml:id="function.sqrt" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>sqrt</refname> + <refpurpose>평방 제곱근</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>float</type><methodname>sqrt</methodname> + <methodparam><type>float</type><parameter>arg</parameter></methodparam> + </methodsynopsis> + <para> + <parameter>arg</parameter>의 평방제곱근을 반환합니다. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>arg</parameter></term> + <listitem> + <para> + 처리할 인수 + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>arg</parameter>의 평방제곱근이나, 음수일 경우엔 특수 값 + <literal>NAN</literal>. + </para> + </refsect1> + <refsect1 role="examples"> + &reftitle.examples; + <para> + <example> + <title><function>sqrt</function> 예제</title> + <programlisting role="php"> <![CDATA[ <?php // 정밀도는 precision 설정에 의존합니다. @@ -25,14 +50,19 @@ echo sqrt(10); // 3.16227766 ... ?> ]]> - </programlisting> - </example> - </para> - <para> - 참고: <function>pow</function>. - </para> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>pow</function></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables:
« previous php.doc.kr (#764) next »