cvs: phpdoc-kr /features sessions.xml /reference/apache/functions apache-setenv.xml /reference/info ini.xml /reference/info/functions
get-required-files.xml ini-alter.xml /reference/outcontrol/functions ob-clean.xml /reference/pcre configure.xml pattern.syntax.xml
/reference/simplexml examples.xml /reference/strings/functions chop.xml join.xml /reference/var ini.xml /reference/var/functions doubleval.xml
empty.xml import-request-variables.xml

From: Date: Sat, 08 Nov 2008 17:55:51 +0000
Subject: cvs: phpdoc-kr /features sessions.xml /reference/apache/functions apache-setenv.xml /reference/info ini.xml /reference/info/functions
get-required-files.xml ini-alter.xml /reference/outcontrol/functions ob-clean.xml /reference/pcre configure.xml pattern.syntax.xml
/reference/simplexml examples.xml /reference/strings/functions chop.xml join.xml /reference/var ini.xml /reference/var/functions doubleval.xml
empty.xml import-request-variables.xml
Groups: php.doc.kr 
Request: Send a blank email to doc-kr+get-752@lists.php.net to get a copy of this message
progcom Sat Nov 8 17:55:51 2008 UTC Modified files: /phpdoc-kr/features sessions.xml /phpdoc-kr/reference/apache/functions apache-setenv.xml /phpdoc-kr/reference/info ini.xml /phpdoc-kr/reference/info/functions get-required-files.xml ini-alter.xml /phpdoc-kr/reference/outcontrol/functions ob-clean.xml /phpdoc-kr/reference/pcre configure.xml pattern.syntax.xml /phpdoc-kr/reference/simplexml examples.xml /phpdoc-kr/reference/strings/functions chop.xml join.xml /phpdoc-kr/reference/var ini.xml /phpdoc-kr/reference/var/functions doubleval.xml empty.xml import-request-variables.xml Log: misc changes

http://cvs.php.net/viewvc.cgi/phpdoc-kr/features/sessions.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-kr/features/sessions.xml diff -u phpdoc-kr/features/sessions.xml:1.2 phpdoc-kr/features/sessions.xml:1.3 --- phpdoc-kr/features/sessions.xml:1.2 Sat Jun 23 13:51:36 2007 +++ phpdoc-kr/features/sessions.xml Sat Nov 8 17:55:50 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.1 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: progcom Status: ready --> <chapter xml:id="features.sessions" xmlns="http://docbook.org/ns/docbook"> <title>세션</title> http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/apache/functions/apache-setenv.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/reference/apache/functions/apache-setenv.xml diff -u phpdoc-kr/reference/apache/functions/apache-setenv.xml:1.5 phpdoc-kr/reference/apache/functions/apache-setenv.xml:1.6 --- phpdoc-kr/reference/apache/functions/apache-setenv.xml:1.5 Tue Jun 26 06:32:21 2007 +++ phpdoc-kr/reference/apache/functions/apache-setenv.xml Sat Nov 8 17:55:50 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.11 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.12 Maintainer: progcom Status: ready --> <refentry xml:id="function.apache-setenv" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>apache_setenv</refname> @@ -20,9 +20,8 @@ </para> <note> <para> - 아파치 환경 변수를 설정할 때, 해당하는 <link - linkend="reserved.variables.server">$_SERVER</link> 변수는 바뀌지 - 않습니다. + 아파치 환경 변수를 설정할 때, 해당하는 <varname>$_SERVER</varname> 변수는 + 바뀌지 않습니다. </para> </note> </refsect1> http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/info/ini.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-kr/reference/info/ini.xml diff -u phpdoc-kr/reference/info/ini.xml:1.6 phpdoc-kr/reference/info/ini.xml:1.7 --- phpdoc-kr/reference/info/ini.xml:1.6 Tue Jun 26 06:32:21 2007 +++ phpdoc-kr/reference/info/ini.xml Sat Nov 8 17:55:50 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.18 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.24 Maintainer: progcom Status: ready --> <section xml:id="info.configuration" xmlns="http://docbook.org/ns/docbook"> &reftitle.runtime; &extension.runtime; @@ -50,7 +50,7 @@ <entry>enable_dl</entry> <entry>"1"</entry> <entry>PHP_INI_SYSTEM</entry> - <entry></entry> + <entry>PHP 6.0.0에서 제거.</entry> </row> <row> <entry>max_execution_time</entry> @@ -68,20 +68,19 @@ <entry>max_input_nesting_level</entry> <entry>"64"</entry> <entry>PHP_INI_SYSTEM|PHP_INI_PERDIR</entry> - <entry>PHP 5.2.2와 4.4.8부터 사용할 수 있습니다. PHP 4.4.x에서 기본값은 - 500입니다.</entry> + <entry>PHP 4.4.8부터 가능. PHP 5.0.0에서 제거.</entry> </row> <row> <entry>magic_quotes_gpc</entry> <entry>"1"</entry> <entry>PHP_INI_PERDIR</entry> - <entry>PHP &lt;=4.2.3에서는 PHP_INI_ALL입니다.</entry> + <entry>PHP &lt;=4.2.3에서 PHP_INI_ALL. PHP 6.0.0에서 제거.</entry> </row> <row> <entry>magic_quotes_runtime</entry> <entry>"0"</entry> <entry>PHP_INI_ALL</entry> - <entry></entry> + <entry>PHP 6.0.0에서 제거.</entry> </row> </tbody> </tgroup> @@ -187,7 +186,9 @@ <para> 스크립트가 실행할 수 있는 최대 시간을 설정합니다. 이는 잘못 쓰여진 스크립트가 서버를 멈추는 것을 방지합니다. 기본값은 - <literal>30</literal>입니다. + <literal>30</literal>입니다. PHP를 <link + linkend="features.commandline">명령줄</link>에서 실행할 때 기본값은 + <literal>0</literal>입니다. </para> <para> 최대 실행 시간은 시스템 호출, 스트림 작업 등에는 영향을 받지 않습니다. @@ -199,9 +200,9 @@ 변경해야 합니다. </para> <para> - 웹 서버가 다른 시간초과 설정을 가질 수 있습니다. 예를 들면, 아파치는 - <literal>Timeout</literal> 지시어, IIS는 CGI timeout 함수를 가지고 - 있습니다. 둘 다 기본값은 300초입니다. 이들의 의미에 대해서는 웹 서버 + 웹 서버가 다른 시간 초과 설정을 가져서, PHP 실행을 중단할 수 있습니다. + 아파치는 <literal>Timeout</literal> 지시어가 있고, IIS는 CGI timeout + 함수가 있습니다. 둘 다 기본값은 300초입니다. 자세한 사항은 웹 서버 문서를 참고하십시오. </para> </listitem> @@ -227,9 +228,8 @@ </term> <listitem> <para> - <link linkend="language.variables.external">입력 변수</link>(즉, <link - linkend="reserved.variables.get"><varname>$_GET</varname></link>, <link - linkend="reserved.variables.post"><varname>$_POST</varname></link>..)의 + <link linkend="language.variables.external">입력 변수</link>(즉, + <varname>$_GET</varname>, <varname>$_POST</varname>..)의 최대 중첩 깊이를 설정합니다. </para> </listitem> @@ -241,7 +241,8 @@ <parameter>magic_quotes_gpc</parameter> <type>boolean</type> </term> - <listitem> + <listitem> + &warn.deprecated.removed-6-0-0; <para> GPC (Get/Post/쿠키) 작동의 magic_quotes 상태를 설정합니다. magic_quotes가 on이면, 모든 ' (작은 따옴표), &quot; (큰 따옴표), \ @@ -249,6 +250,11 @@ </para> <note> <para> + PHP 4에서는 <varname>$_ENV</varname>도 이스케이프 되었습니다. + </para> + </note> + <note> + <para> <link linkend="ini.magic-quotes-sybase">magic_quotes_sybase</link> 지시어도 ON이면 magic_quotes_gpc가 완전히 교체됩니다. 두 지시어를 모두 활성화하면 작은 따음표는 <emphasis>''</emphasis>로 이스케이프합니다. 큰 @@ -267,6 +273,7 @@ <type>boolean</type> </term> <listitem> + &warn.deprecated.removed-6-0-0; <para> <parameter>magic_quotes_runtime</parameter>를 활성화하면, 데이터베이스나 텍스트 파일를 포함한, 어떠한 외부 소스에서 데이터를 가져오는 대부분의 http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/info/functions/get-required-files.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/info/functions/get-required-files.xml diff -u phpdoc-kr/reference/info/functions/get-required-files.xml:1.4 phpdoc-kr/reference/info/functions/get-required-files.xml:1.5 --- phpdoc-kr/reference/info/functions/get-required-files.xml:1.4 Sat Jun 23 13:51:39 2007 +++ phpdoc-kr/reference/info/functions/get-required-files.xml Sat Nov 8 17:55:50 2008 @@ -1,17 +1,19 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.6 Maintainer: progcom Status: ready --> - <refentry xml:id="function.get-required-files" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>get_required_files</refname> - <refpurpose><function>get_included_files</function>의 별칭.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <para> - 이 함수는 <function>get_included_files</function>의 별칭입니다. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.9 Maintainer: progcom Status: ready --> +<refentry xml:id="function.get-required-files" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>get_required_files</refname> + <refpurpose>&Alias; <function>get_included_files</function></refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias; <function>get_included_files</function>. + </simpara> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/info/functions/ini-alter.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/info/functions/ini-alter.xml diff -u phpdoc-kr/reference/info/functions/ini-alter.xml:1.4 phpdoc-kr/reference/info/functions/ini-alter.xml:1.5 --- phpdoc-kr/reference/info/functions/ini-alter.xml:1.4 Sat Jun 23 13:51:39 2007 +++ phpdoc-kr/reference/info/functions/ini-alter.xml Sat Nov 8 17:55:50 2008 @@ -1,17 +1,18 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.6 Maintainer: progcom Status: ready --> - <refentry xml:id="function.ini-alter" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>ini_alter</refname> - <refpurpose><function>ini_set</function>의 별칭</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <para> - 이 함수는 <function>ini_set</function>의 별칭입니다. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.9 Maintainer: progcom Status: ready --> +<refentry xml:id="function.ini-alter" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>ini_alter</refname> + <refpurpose>&Alias; <function>ini_set</function></refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias; <function>ini_set</function>. + </simpara> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/outcontrol/functions/ob-clean.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc-kr/reference/outcontrol/functions/ob-clean.xml diff -u phpdoc-kr/reference/outcontrol/functions/ob-clean.xml:1.2 phpdoc-kr/reference/outcontrol/functions/ob-clean.xml:1.3 --- phpdoc-kr/reference/outcontrol/functions/ob-clean.xml:1.2 Sat Jun 23 13:51:41 2007 +++ phpdoc-kr/reference/outcontrol/functions/ob-clean.xml Sat Nov 8 17:55:50 2008 @@ -1,32 +1,45 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.2 Maintainer: progcom Status: ready --> - <refentry xml:id="function.ob-clean" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>ob_clean</refname> - <refpurpose> - 출력 버퍼를 지웁니다. - </refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>void</type><methodname>ob_clean</methodname> - <void/> - </methodsynopsis> - <para> - 출력 버퍼의 모든 내용을 버립니다. - </para> - <para> - 이 함수는 <function>ob_enc_clean</function>처럼 출력 버퍼를 파괴하지는 - 않습니다. - </para> - <para> - 참고: <function>ob_flush</function>, - <function>ob_end_flush</function>, - <function>ob_end_clean</function>. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> +<refentry xml:id="function.ob-clean" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>ob_clean</refname> + <refpurpose>출력 버퍼를 지웁니다.</refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>void</type><methodname>ob_clean</methodname> + <void/> + </methodsynopsis> + <para> + 출력 버퍼의 모든 내용을 버립니다. + </para> + <para> + 이 함수는 <function>ob_enc_clean</function>처럼 출력 버퍼를 파괴하지는 + 않습니다. + </para> + </refsect1> + + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + &return.void; + </para> + </refsect1> + + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>ob_flush</function></member> + <member><function>ob_end_flush</function></member> + <member><function>ob_end_clean</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/pcre/configure.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/pcre/configure.xml diff -u phpdoc-kr/reference/pcre/configure.xml:1.4 phpdoc-kr/reference/pcre/configure.xml:1.5 --- phpdoc-kr/reference/pcre/configure.xml:1.4 Sat Jun 23 13:51:41 2007 +++ phpdoc-kr/reference/pcre/configure.xml Sat Nov 8 17:55:50 2008 @@ -1,6 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.4 $ --> -<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.6 Maintainer: progcom Status: ready --> <section xml:id="pcre.installation" xmlns="http://docbook.org/ns/docbook"> &reftitle.install; <para> @@ -14,6 +13,15 @@ 설정하고 컴파일해야합니다. </para> &windows.builtin; + <note> + <para> + PHP 5.3.0부터 이 확장은 비활성화 할 수 없으며, 항상 존재합니다. + </para> + <para> + <option role="configure">--with-pcre-regex=DIR</option>을 사용하여, 외부 + PCRE 라이브러리로 빌드는 가능합니다. + </para> + </note> </section> <!-- Keep this comment at the end of the file http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/pcre/pattern.syntax.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-kr/reference/pcre/pattern.syntax.xml diff -u phpdoc-kr/reference/pcre/pattern.syntax.xml:1.3 phpdoc-kr/reference/pcre/pattern.syntax.xml:1.4 --- phpdoc-kr/reference/pcre/pattern.syntax.xml:1.3 Mon Jul 21 07:44:05 2008 +++ phpdoc-kr/reference/pcre/pattern.syntax.xml Sat Nov 8 17:55:50 2008 @@ -1,136 +1,9 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- EN-Revision: 1.20 Maintainer: progcom Status: working --> +<!-- EN-Revision: 1.21 Maintainer: progcom Status: working --> <chapter xml:id="reference.pcre.pattern.syntax" xmlns="http://docbook.org/ns/docbook"> <title>패턴 문법</title> <titleabbrev>PCRE 정규표현식 문법 설명</titleabbrev> - <section xml:id="pcre.pattern.syntax.description"> - <title>설명</title> - <simpara> - PCRE 라이브러리는 아주 약간의 차이(아래를 참고)를 제외하고, 펄 5와 - 동일한 구문과 의미를 사용하여 정규표현식 패턴 매칭을 수행하는 - 함수의 집합입니다. 현재 수행은 펄 5.005에 대응합니다. - </simpara> - </section> - - <section xml:id="pcre.pattern.syntax.differences"> - <title>펄과의 차이</title> - <para> - 여기에서 설명한 차이는 펄 5.005 기준입니다. - <orderedlist> - <listitem> - <simpara> - PCRE는 다른 문자 집합으로 컴파일할 수 있지만, 기본적으로 공백 문자는 C - 라이브러리 함수 isspace()가 인식하는 모든 문자입니다. 보통 isspace()는 - 스페이스, 폼피드, 줄바꿈, 캐리지 리턴, 수평 탭, 수직 탭을 인식합니다. - 펄 5는 공백 문자에 수직 탭을 포함하지 않습니다. 오랜 기간동안 펄 - 문서의 \v 이스케이프는 사실상 인정되지 않았습니다. 그러나 문자 자체는 - 적어도 5.002까지 공백으로 취급되었으며, 5.004와 5.005는 \s에서 - 인식하지 않습니다. - </simpara> - </listitem> - <listitem> - <simpara> - PCRE는 lookahead 단정에서 반복 횟수를 허용하지 않습니다. 펄은 - 허용하지만, 생각하는 그대로의 의미를 갖지 않습니다. 예를 들어, - (?!a){3}는 다음 세 문자가 "a"가 아닌 것을 의미하지 않습니다. 단지, - 다음 문자가 "a"가 아니라는 것을 세번 확인할 뿐입니다. - </simpara> - </listitem> - <listitem> - <simpara> - 부정 lookahead 단정 안에서 일어나는 서브패턴 검출을 카운트를 하지만, - 시작 위치 벡터에 그 엔트리를 설정하지는 않습니다. 펄은 부정 lookahead - 단정이 단 하나의 브랜치를 가지고 있을 경우에 한하여, 그 단정이 매치에 - 실패(결과적으로 성공)하기 전에 매치한 어떠한 패턴에 대해서만 그에 대한 - 숫자 변수를 설정합니다. - </simpara> - </listitem> - <listitem> - <simpara> - 바이너리 제로 문자는 목표 문자열에서는 지원하지만, 패턴 문자열에서는 - 허용하지 않습니다. 패턴은 제로로 종료하는 보통의 C 문자열로 처리하기 - 때문입니다. 패턴에서 바이너리 제로를 표현하기 위해서는 이스케이프 - 시퀀스 "\x00"로 사용할 수 있습니다. - </simpara> - </listitem> - <listitem> - <simpara> - 다음의 펄 이스케이프 시퀀스는 지원하지 않습니다: - \l, \u, \L, \U. 사실, 이들은 펄의 일반 문자열 - 핸들링이며, 패턴 매칭 엔진의 부분이 아닙니다. - </simpara> - </listitem> - <listitem> - <simpara> - 펄의 \G는 싱글 패턴 매치에 적절하지 않기 때문에 지원하지 않습니다. - </simpara> - </listitem> - <listitem> - <simpara> - 분명히, PCRE는 (?{code})와 (??{code}) 구조를 지원하지 않습니다. 그러나, - 반복 패턴에서는 지원합니다. - </simpara> - </listitem> - <listitem> - <simpara> - 패턴의 일부가 반복될 때, 잡아낸 문자열의 설정에 관해서, 펄 - 5.005_02에서 일부 이상한 동작이 존재합니다. 예를 들어, "aba"에 대해서 - 패턴 /^(a(b)?)+$/를 매칭하면 $2를 "b" 값으로 설정하지만, "aabbaa"에 - 대해서 /^(aa(bb)?)+$/를 매칭하면 $2를 설정하지 않습니다. 하지만 패턴을 - /^(aa(b(b))?)+$/로 변경하면 $2(와 $3)를 설정합니다. 펄 5.004에서는 - $2를 두 경우 모두 설정했으며, PCRE에서도 &true;입니다. 앞으로 펄이 이 - 차이를 일관성 있게 변경한다면, PCRE는 그 변경에 따를 것입니다. - </simpara> - </listitem> - <listitem> - <simpara> - 또다른 해결되지 않은 모순점은 펄 5.005_02가 패턴 /^(a)?(?(1)a|b)+$/를 - 문자열 "a"에 매치하지만, PCRE는 하지 않습니다. 그러나 펄과 PCRE 모두 - /^(a)?a/를 "a"에 매치하고 $1을 설정하지 않습니다. - </simpara> - </listitem> - <listitem> - <para> - PCRE는 펄 정규표현식 기능의 몇가지 확장을 지원합니다: - <orderedlist> - <listitem> - <simpara> - lookbehind 단정은 고정 길이 문자열에만 매치해야하지만, 양자 택일의 - lookbehind 단정에서는 다른 길이의 문자열을 매치할 수 있습니다. 펄 - 5.005에서는 모두 같은 길이를 가질 것을 요구합니다. - </simpara> - </listitem> - <listitem> - <simpara> - <link linkend="reference.pcre.pattern.modifiers">PCRE_DOLLAR_ENDONLY</link>를 - 설정하고 <link - linkend="reference.pcre.pattern.modifiers">PCRE_MULTILINE</link>를 설정하지 - 않으면 $ 메타 문자는 문자열의 가장 마지막에만 매치합니다. - </simpara> - </listitem> - <listitem> - <simpara> - <link linkend="reference.pcre.pattern.modifiers">PCRE_EXTRA</link>를 - 설정하면, 백슬래시 뒤에 특별한 의미를 가지지 않는 문자의 사용은 - 실패하게 됩니다. - </simpara> - </listitem> - <listitem> - <simpara> - <link linkend="reference.pcre.pattern.modifiers">PCRE_UNGREEDY</link>를 - 설정하면, 반복 수량어의 greediness가 뒤집어져서, 기본값으로 - greedy하지 않게 됩니다. 하지만 뒤에 물음표가 붙으면 greedy하게 - 됩니다. - </simpara> - </listitem> - </orderedlist> - </para> - </listitem> - </orderedlist> - </para> - </section> - <section xml:id="regexp.reference"> <title>정규표현식 상세</title> <section xml:id="regexp.introduction"> @@ -544,12 +417,11 @@ 마지막에만 매치합니다. </para> <para> - The <literal>\G</literal> assertion is true only when the current - matching position is at the start point of the match, as specified by - the <parameter>offset</parameter> argument of - <function>preg_match</function>. It differs from <literal>\A</literal> - when the value of <parameter>offset</parameter> is non-zero. - It is available since PHP 4.3.3. + <literal>\G</literal> 단정은 현재 매치한 위치가 + <function>preg_match</function>에서 <parameter>offset</parameter> 인수로 + 지정한 시작 지점일 경우에만 참입니다. <parameter>offset</parameter>이 + 0이 아닐 때 <literal>\A</literal>와 다릅니다. + PHP 4.3.3부터 사용할 수 있습니다. </para> <para> @@ -572,7 +444,7 @@ </section> <section xml:id="regexp.reference.unicode"> - <title>Unicode character properties</title> + <title>유니코드 문자 속성</title> <para> Since PHP 4.4.0 and 5.1.0, three additional escape sequences to match generic character types are available @@ -611,7 +483,7 @@ \pL </literallayout> <table> - <title>Supported property codes</title> + <title>지원하는 속성 코드</title> <tgroup cols="2"> <tbody> <row><entry><literal>C</literal></entry><entry>Other</entry></row> @@ -942,14 +814,11 @@ "erpillar", 또는 빈 문자열에 매치할 것입니다. </para> <para> - 2. It sets up the subpattern as a capturing subpattern (as - defined above). When the whole pattern matches, that portion - of the subject string that matched the subpattern is - passed back to the caller via the <emphasis>ovector</emphasis> - argument of - <function>pcre_exec</function>. Opening parentheses are counted - from left to right (starting from 1) to obtain the numbers of the - capturing subpatterns. + 2. 서브패턴을 (위에서 정의한) 캡쳐한 서브패턴으로 지정합니다. 모든 + 패턴이 매치하면, 매치한 주제 문자열이 <function>pcre_exec</function>의 + <emphasis>ovector</emphasis>를 통하여 호출자에게 넘겨집니다. 열린 괄호는 + 왼쪽에서 오른쪽으로 세어서 (1부터 시작) 캡쳐한 서브패턴에 번호를 + 부여합니다. </para> <para> 예를 들어, 문자열 "the red king"이 패턴 @@ -1053,17 +922,15 @@ </table> </para> <para> - It is possible to construct infinite loops by following a - subpattern that can match no characters with a quantifier - that has no upper limit, for example: + 상위 제한이 없는 수량어에 문자를 매치지키지 않음으로써, 다음 서브패턴과 + 같이 무한루프를 만들수 있습니다. 예를 들면: <literal>(a?)*</literal> </para> <para> - Earlier versions of Perl and PCRE used to give an error at - compile time for such patterns. However, because there are - cases where this can be useful, such patterns are now - accepted, but if any repetition of the subpattern does in - fact match no characters, the loop is forcibly broken. + Perl과 PCRE 예전 버전에선 이러한 패턴에 대해서 컴파일 시에 오류를 + 발생시켰습니다. 그러나, 이것이 유용한 경우가 있어서, 지금은 이러한 + 패턴이 받아들여집니다. 그러나 서브패턴의 반복이 실제로는 어떠한 문자도 + 매치하지 않을 때, 루프는 강제로 깨어집니다. </para> <para> By default, the quantifiers are "greedy", that is, they http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/simplexml/examples.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc-kr/reference/simplexml/examples.xml diff -u phpdoc-kr/reference/simplexml/examples.xml:1.1 phpdoc-kr/reference/simplexml/examples.xml:1.2 --- phpdoc-kr/reference/simplexml/examples.xml:1.1 Fri Mar 28 17:55:01 2008 +++ phpdoc-kr/reference/simplexml/examples.xml Sat Nov 8 17:55:50 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.2 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.3 Maintainer: progcom Status: ready --> <chapter xml:id="simplexml.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> &reftitle.examples; @@ -166,6 +166,23 @@ </para> <para> <example> + <title>두 요소 비교하기.</title> + <simpara> + PHP 5.2.0부터 두 개의 SimpleXMLElement는 같은 곳을 가르키고 있어도 다른 + 것으로 간주합니다. + </simpara> + <programlisting role="php"><![CDATA[ +<?php +$el1 = new SimpleXMLElement($xmlstr); +$el2 = new SimpleXMLElement($xmlstr); +var_dump($el1 == $el2); // PHP 5.2.0 부터 false +?> +]]> + </programlisting> + </example> + </para> + <para> + <example> <title>XPath 사용하기.</title> <simpara> SimpleXML은 <acronym>XPath</acronym> 지원을 내장하고 있습니다. 모든 http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/chop.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/reference/strings/functions/chop.xml diff -u phpdoc-kr/reference/strings/functions/chop.xml:1.5 phpdoc-kr/reference/strings/functions/chop.xml:1.6 --- phpdoc-kr/reference/strings/functions/chop.xml:1.5 Sat Jun 23 13:51:42 2007 +++ phpdoc-kr/reference/strings/functions/chop.xml Sat Nov 8 17:55:50 2008 @@ -1,23 +1,30 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.2 Maintainer: progcom Status: ready --> - <refentry xml:id="function.chop" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>chop</refname> - <refpurpose><function>rtrim</function>의 별칭.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <para> - 이 함수는 <function>rtrim</function>의 별칭입니다. - </para> - <note> - <para> - <function>chop</function>은 문자열의 마지막 글자를 제거하는 펄의 - <literal>chop()</literal> 함수와 다릅니다. - </para> - </note> - </refsect1> - </refentry> +<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> +<refentry xml:id="function.chop" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>chop</refname> + <refpurpose>&Alias; <function>rtrim</function></refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias; + <function>rtrim</function>. + </simpara> + </refsect1> + + <refsect1 role="notes"> + &reftitle.notes; + <note> + <para> + <function>chop</function>은 문자열의 마지막 글자를 제거하는 펄의 + <literal>chop()</literal> 함수와 다릅니다. + </para> + </note> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/strings/functions/join.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/strings/functions/join.xml diff -u phpdoc-kr/reference/strings/functions/join.xml:1.4 phpdoc-kr/reference/strings/functions/join.xml:1.5 --- phpdoc-kr/reference/strings/functions/join.xml:1.4 Sat Jun 23 13:51:42 2007 +++ phpdoc-kr/reference/strings/functions/join.xml Sat Nov 8 17:55:50 2008 @@ -1,17 +1,20 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready --> - <refentry xml:id="function.join" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>join</refname> - <refpurpose><function>implode</function>의 별칭.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <para> - 이 함수는 <function>implode</function>의 별칭입니다. - </para> - </refsect1> - </refentry> +<!-- EN-Revision: 1.7 Maintainer: progcom Status: ready --> +<refentry xml:id="function.join" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>join</refname> + <refpurpose>&Alias; <function>implode</function></refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias; + <function>implode</function>. + </simpara> + </refsect1> + +</refentry> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/var/ini.xml?r1=1.3&r2=1.4&diff_format=u Index: phpdoc-kr/reference/var/ini.xml diff -u phpdoc-kr/reference/var/ini.xml:1.3 phpdoc-kr/reference/var/ini.xml:1.4 --- phpdoc-kr/reference/var/ini.xml:1.3 Sat Jun 23 13:51:42 2007 +++ phpdoc-kr/reference/var/ini.xml Sat Nov 8 17:55:50 2008 @@ -1,30 +1,31 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.3 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.7 Maintainer: progcom Status: ready --> <section xml:id="var.configuration" xmlns="http://docbook.org/ns/docbook"> &reftitle.runtime; &extension.runtime; <para> <table> <title>변수 설정 옵션</title> - <tgroup cols="3"> + <tgroup cols="4"> <thead> <row> <entry>이름</entry> <entry>기본값</entry> - <entry>변경가능성</entry> + <entry>변경위치</entry> + <entry>변경점</entry> </row> </thead> <tbody> <row> <entry>unserialize_callback_func</entry> - <entry>""</entry> + <entry>NULL</entry> <entry>PHP_INI_ALL</entry> + <entry>PHP 4.2.0부터 사용할 수 있습니다.</entry> </row> </tbody> </tgroup> </table> - PHP_INI_* 상수에 관한 자세한 내용과 정의는 <function>ini_set</function>을 - 참고하십시오. + &ini.php.constants; </para> &ini.descriptions.title; @@ -38,11 +39,11 @@ </term> <listitem> <para> - unserializer가 작성할 필요가 있는 미정의 클래스를 발견하면, (미정의 - 클래스 이름을 인자로) unserialize 콜백 함수를 호출합니다. 지정한 함수가 - 정의되어 있지 않거나, 함수가 존재하지 않는 클래스를 포함/상속하지 못하면 - 경고를 발생합니다. 콜백 함수가 필요한 경우에만, 이 엔트리를 - 지정하십시오. + <function>unserialize</function> 콜백 함수가 (정의되지 않은 클래스 + 이름을 인수로) 호출되었을 때, unserializer가 정의되지 않은 클래스를 + 생성해야 할 수 있습니다. 지정한 함수가 정의되어 있지 않거나, 함수가 + 존재하지 않는 클래스를 포함/상속하지 못하면 경고를 발생합니다. 콜백 + 함수가 필요한 경우에만, 이 엔트리를 지정하십시오. </para> <para> 참고: <function>unserialize</function>. http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/var/functions/doubleval.xml?r1=1.5&r2=1.6&diff_format=u Index: phpdoc-kr/reference/var/functions/doubleval.xml diff -u phpdoc-kr/reference/var/functions/doubleval.xml:1.5 phpdoc-kr/reference/var/functions/doubleval.xml:1.6 --- phpdoc-kr/reference/var/functions/doubleval.xml:1.5 Sat Jun 23 13:51:42 2007 +++ phpdoc-kr/reference/var/functions/doubleval.xml Sat Nov 8 17:55:50 2008 @@ -1,25 +1,45 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- $Revision: 1.5 $ --> -<!-- EN-Revision: 1.2 Maintainer: progcom Status: ready --> - <refentry xml:id="function.doubleval" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>doubleval</refname> - <refpurpose><function>floatval</function>의 별칭</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <para> - 이 함수는 <function>floatval</function>의 별칭입니다. - </para> - <note> - <para> - 함수명 변경시에 별칭으로 남겨졌습니다. 이전의 PHP에서는 - <function>floatval</function>이 존재하지 않았기 때문에, - <function>floatval</function> 대신 이 함수명을 사용해야 합니다. - </para> - </note> - </refsect1> - </refentry> +<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready --> +<refentry xml:id="function.doubleval" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>doubleval</refname> + <refpurpose>&Alias; <function>floatval</function></refpurpose> + </refnamediv> + + <refsect1 role="description"> + &reftitle.description; + <simpara> + &info.function.alias; + <function>floatval</function>. + </simpara> + </refsect1> + + <refsect1 role="changelog"> + &reftitle.changelog; + <para> + <informaltable> + <tgroup cols="2"> + <thead> + <row> + <entry>&Version;</entry> + <entry>&Description;</entry> + </row> + </thead> + <tbody> + <row> + <entry>4.2.0</entry> + <entry> + <function>doubleval</function>은 <function>floatval</function>의 + 별칭이 되었습니다. 이전에는 <function>doubleval</function>만 + 존재했습니다. + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -41,4 +61,3 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/var/functions/empty.xml?r1=1.6&r2=1.7&diff_format=u Index: phpdoc-kr/reference/var/functions/empty.xml diff -u phpdoc-kr/reference/var/functions/empty.xml:1.6 phpdoc-kr/reference/var/functions/empty.xml:1.7 --- phpdoc-kr/reference/var/functions/empty.xml:1.6 Sun Jun 24 17:39:39 2007 +++ phpdoc-kr/reference/var/functions/empty.xml Sat Nov 8 17:55:50 2008 @@ -1,38 +1,109 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- EN-Revision: 1.8 Maintainer: progcom Status: ready --> - <refentry xml:id="function.empty" xmlns="http://docbook.org/ns/docbook"> - <refnamediv> - <refname>empty</refname> - <refpurpose>변수가 비어있는지 검사합니다.</refpurpose> - </refnamediv> - <refsect1> - <title>설명</title> - <methodsynopsis> - <type>bool</type><methodname>empty</methodname> - <methodparam><type>mixed</type><parameter>var</parameter></methodparam> - </methodsynopsis> - <para> - <function>empty</function>는 <parameter>var</parameter>가 비어있지 않고 - 제로가 아닌 값이라면 &false;를 반환합니다. 즉, <literal>""</literal>, - <literal>0</literal>, <literal>"0"</literal>, &null;, &false;, - <literal>array()</literal>, <literal>var $var</literal>, - 비어있는 프로퍼티의 객체를 비어있는 것으로 판단합니다. - <parameter>var</parameter>가 비어있다면 &true;를 반환합니다. - </para> - <para> - <function>empty</function>는 변수값이 지정되지 않았을 때 경고를 출력하지 - 않는 것을 제외하고, <literal>(boolean) - var</literal>의 반대입니다. 자세한 정보는 <link - linkend="language.types.boolean.casting">불린으로 변경</link>을 - 참고하십시오. - </para> - <para> - <example> - <title> - 간단한 <function>empty</function> / <function>isset</function> - 비교입니다. - </title> - <programlisting role="php"> +<!-- EN-Revision: 1.13 Maintainer: progcom Status: ready --> +<refentry xml:id="function.empty" xmlns="http://docbook.org/ns/docbook"> + <refnamediv> + <refname>empty</refname> + <refpurpose>변수가 비어있는지 검사합니다.</refpurpose> + </refnamediv> + <refsect1 role="description"> + &reftitle.description; + <methodsynopsis> + <type>bool</type><methodname>empty</methodname> + <methodparam><type>mixed</type><parameter>var</parameter></methodparam> + </methodsynopsis> + <para> + 변수가 비어 있는 것으로 간주되는지 검사합니다. + </para> + </refsect1> + <refsect1 role="parameters"> + &reftitle.parameters; + <para> + <variablelist> + <varlistentry> + <term><parameter>var</parameter></term> + <listitem> + <para> + 확인할 변수. + </para> + <note> + <para> + <function>empty</function>은 변수만 확인하며, 다른 것은 처리 오류를 + 발생합니다. 다시 말하면, 다음 문장은 실행되지 않습니다: + <command>empty(trim($name))</command> + </para> + </note> + <para> + <function>empty</function>는 변수값이 지정되지 않았을 때 경고를 출력하지 + 않는 것을 제외하고, <literal>(boolean) + var</literal>의 반대입니다. + </para> + </listitem> + </varlistentry> + </variablelist> + </para> + </refsect1> + <refsect1 role="returnvalues"> + &reftitle.returnvalues; + <para> + <parameter>var</parameter>가 비어 있지 않고, 0이 아닌 값일 경우 &false;를 + 반환합니다. + </para> + <para> + 다음 것들이 비어 있는 것으로 간주됩니다: + <simplelist> + <member><literal>"" (빈 문자열)</literal></member> + <member><literal>0 (정수 0)</literal></member> + <member><literal>"0" (문자열 0)</literal></member> + <member>&null;</member> + <member>&false;</member> + <member><literal>array() (빈 배열)</literal></member> + <member><literal>var $var; (클래스 안에서 값 없이 선언된 + 변수)</literal></member> + </simplelist> + </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>PHP 5</entry> + <entry> + <para> + PHP 5부터, 프로퍼티가 없는 객체는 빈 것으로 간주되지 않습니다. + </para> + </entry> + </row> + <row> + <entry>PHP 4</entry> + <entry> + <para> + PHP 4부터, 문자열 "0"은 빈 것으로 간주합니다. + </para> + </entry> + </row> + </tbody> + </tgroup> + </informaltable> + </para> + </refsect1> + <refsect1 role="exmaples"> + &reftitle.examples; + <para> + <example> + <title> + 간단한 <function>empty</function> / <function>isset</function> + 비교입니다. + </title> + <programlisting role="php"> <![CDATA[ <?php $var = 0; @@ -48,29 +119,28 @@ } ?> ]]> - </programlisting> - </example> - </para> - - &note.language-construct; - - <note> - <para> - 구문 에러일 경우를 제외하고 <function>empty</function>은 변수를 확인할 - 뿐입니다. 즉, 다음과 같은 것은 작동하지 않습니다: - <command>empty(addslashes($name))</command>. - </para> - </note> - <simpara> - 참고: <function>isset</function>, - <function>unset</function>, - <function>array_key_exists</function>, - <function>count</function>, - <function>strlen</function>, - <link linkend="types.comparisons">타입 비교표</link>. - </simpara> - </refsect1> - </refentry> + </programlisting> + </example> + </para> + </refsect1> + <refsect1 role="notes"> + &reftitle.notes; + &note.language-construct; + </refsect1> + <refsect1 role="seealso"> + &reftitle.seealso; + <para> + <simplelist> + <member><function>isset</function></member> + <member><function>unset</function></member> + <member><function>array_key_exists</function></member> + <member><function>count</function></member> + <member><function>strlen</function></member> + <member><link linkend="types.comparisons">형 비교 표</link></member> + </simplelist> + </para> + </refsect1> +</refentry> <!-- Keep this comment at the end of the file Local variables: @@ -92,4 +162,3 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> - http://cvs.php.net/viewvc.cgi/phpdoc-kr/reference/var/functions/import-request-variables.xml?r1=1.4&r2=1.5&diff_format=u Index: phpdoc-kr/reference/var/functions/import-request-variables.xml diff -u phpdoc-kr/reference/var/functions/import-request-variables.xml:1.4 phpdoc-kr/reference/var/functions/import-request-variables.xml:1.5 --- phpdoc-kr/reference/var/functions/import-request-variables.xml:1.4 Mon Jun 25 17:10:37 2007 +++ phpdoc-kr/reference/var/functions/import-request-variables.xml Sat Nov 8 17:55:50 2008 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="utf-8"?> -<!-- EN-Revision: 1.14 Maintainer: progcom Status: ready --> +<!-- EN-Revision: 1.15 Maintainer: progcom Status: ready --> <refentry xml:id="function.import-request-variables" xmlns="http://docbook.org/ns/docbook"> <refnamediv> <refname>import_request_variables</refname> @@ -100,7 +100,7 @@ &reftitle.seealso; <para> <simplelist> - <member><link linkend="reserved.variables.request">$_REQUEST</link></member> + <member><varname>$_REQUEST</varname></member> <member><link linkend="ini.register-globals">register_globals</link></member> <member><link linkend="language.variables.predefined">예약 변수</link></member> <member><function>extract</function></member>
« previous php.doc.kr (#752) next »