mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
some translations merged from mytechnic.com
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146722 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
f5057b2140
commit
a016469271
15 changed files with 176 additions and 206 deletions
|
@ -1,38 +1,34 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.2 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.2 Maintainer: progcom Status: ready -->
|
||||
<!-- CREDITS: myprogram -->
|
||||
<refentry id="function.get-cfg-var">
|
||||
<refnamediv>
|
||||
<refname>get_cfg_var</refname>
|
||||
<refpurpose>
|
||||
Gets the value of a PHP configuration option
|
||||
PHP 설정 옵션의 값을 얻습니다.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>get_cfg_var</methodname>
|
||||
<methodparam><type>string</type><parameter>varname</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
Returns the current value of the PHP configuration variable
|
||||
specified by <parameter>varname</parameter>, or &false; if an
|
||||
error occurs.
|
||||
<parameter>varname</parameter>으로 지정한 PHP 설정 변수의 값을
|
||||
반환하거나, 에러가 발생했을 때 &false;를 반환합니다.
|
||||
</simpara>
|
||||
<simpara>
|
||||
It will not return configuration information set when the PHP was
|
||||
compiled, or read from an Apache configuration file (using the
|
||||
php3_configuration_option directives).
|
||||
PHP 컴파일시에 설정했거나, (php3_configuration_option 지시어를 이용하여)
|
||||
아파치 설정 파일에서 읽는 정보는 반환하지 않습니다.
|
||||
</simpara>
|
||||
<simpara>
|
||||
To check whether the system is using a <link
|
||||
linkend="configuration.file">configuration file</link>, try
|
||||
retrieving the value of the cfg_file_path configuration
|
||||
setting. If this is available, a configuration file is being
|
||||
used.
|
||||
시스템이 어떤 <link linkend="configuration.file">설정 파일</link>를
|
||||
사용하는지 확인하려면, cfg_file_path 설정값을 확인해보십시오. 존재한다면,
|
||||
그 설정 파일을 사용합니다.
|
||||
</simpara>
|
||||
<simpara>
|
||||
See also <function>ini_get</function>.
|
||||
참고: <function>ini_get</function>.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,11 +1,10 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.2 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.2 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.2 Maintainer: progcom Status: ready -->
|
||||
<refentry id="function.get-current-user">
|
||||
<refnamediv>
|
||||
<refname>get_current_user</refname>
|
||||
<refpurpose>
|
||||
Gets the name of the owner of the current PHP script
|
||||
현재 PHP 스크립트 소유자의 이름을 얻습니다.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
|
@ -15,12 +14,12 @@
|
|||
<void/>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
Returns the name of the owner of the current PHP script.
|
||||
현재 PHP 스크립트 소유자의 이름을 반환합니다.
|
||||
</simpara>
|
||||
<simpara>
|
||||
See also <function>getmyuid</function>,
|
||||
참고: <function>getmyuid</function>,
|
||||
<function>getmygid</function>, <function>getmypid</function>,
|
||||
<function>getmyinode</function>, and
|
||||
<function>getmyinode</function>,
|
||||
<function>getlastmod</function>.
|
||||
</simpara>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,28 +1,25 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.71 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready -->
|
||||
<refentry id="function.get-defined-constants">
|
||||
<refnamediv>
|
||||
<refname>get_defined_constants</refname>
|
||||
<refpurpose>
|
||||
Returns an associative array with the names of all the constants
|
||||
and their values
|
||||
모든 상수와 그 값의 연관 배열을 반환합니다.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>get_defined_constants</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
This function returns the names and values of all the constants
|
||||
currently defined. This includes those created by extensions as
|
||||
well as those created with the <function>define</function>
|
||||
function.
|
||||
현재 정의된 모든 상수의 이름과 값을 반환합니다. 여기에는 확장 모듈에서
|
||||
작성한 상수와 <function>define</function> 함수로 작성한 상수를
|
||||
포함합니다.
|
||||
</para>
|
||||
<para>
|
||||
For example the line below:
|
||||
아래는 예제입니다:
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
@ -32,7 +29,7 @@ print_r(get_defined_constants());
|
|||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
will print a list like:
|
||||
다음과 같이 출력할 것입니다:
|
||||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
|
@ -57,9 +54,8 @@ Array
|
|||
</informalexample>
|
||||
</para>
|
||||
<para>
|
||||
See also
|
||||
<function>get_loaded_extensions</function>,
|
||||
<function>get_defined_functions</function>, and
|
||||
참고: <function>get_loaded_extensions</function>,
|
||||
<function>get_defined_functions</function>,
|
||||
<function>get_defined_vars</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,25 +1,25 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.71 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready -->
|
||||
<!-- CREDITS: myprogram -->
|
||||
<refentry id="function.get-extension-funcs">
|
||||
<refnamediv>
|
||||
<refname>get_extension_funcs</refname>
|
||||
<refpurpose>
|
||||
Returns an array with the names of the functions of a module
|
||||
모듈의 함수명을 배열로 반환합니다.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>get_extension_funcs</methodname>
|
||||
<methodparam><type>string</type><parameter>module_name</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
This function returns the names of all the functions defined in
|
||||
the module indicated by <parameter>module_name</parameter>.
|
||||
<parameter>module_name</parameter>가 지시하는 모듈에 정의된 모든
|
||||
함수명을 반환합니다.
|
||||
</para>
|
||||
<para>
|
||||
For example the lines below
|
||||
아래는 예제입니다.
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
@ -30,13 +30,13 @@ print_r(get_extension_funcs("gd"));
|
|||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
will print a list of the functions in the modules
|
||||
<varname>xml</varname> and <varname>gd</varname> respectively.
|
||||
<varname>xml</varname>과 <varname>gd</varname> 모듈에 존재하는 함수
|
||||
목록을 출력할 것입니다.
|
||||
</para>
|
||||
</informalexample>
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>get_loaded_extensions</function>
|
||||
참고: <function>get_loaded_extensions</function>
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,38 +1,35 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.71 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready -->
|
||||
<refentry id="function.get-included-files">
|
||||
<refnamediv>
|
||||
<refname>get_included_files</refname>
|
||||
<refpurpose>
|
||||
Returns an array with the names of included or required files
|
||||
include나 require한 파일명의 배열을 반환합니다.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>get_included_files</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns an array of the names of all files that have been
|
||||
included using <function>include</function>,
|
||||
<function>include_once</function>, <function>require</function>
|
||||
or <function>require_once</function>.
|
||||
<function>include</function>, <function>include_once</function>,
|
||||
<function>require</function>, <function>require_once</function>를
|
||||
사용하여 포함한 파일명을 배열로 반환합니다.
|
||||
</para>
|
||||
<para>
|
||||
Files that are included or required multiple times only show up
|
||||
once in the returned array.
|
||||
여러번 include나 require한 파일은 반환 배열에 한번만 나옵니다.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
Files included using the <literal>auto_prepend_file</literal>
|
||||
configuration directive are not included in the returned array.
|
||||
<literal>auto_prepend_file</literal> 설정 지시어를 사용하여 포함한
|
||||
파일은 반환 배열에 나오지 않습니다.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>get_included_files</function> example</title>
|
||||
<title><function>get_included_files</function> 예제</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -52,7 +49,7 @@ foreach ($included_files as $filename) {
|
|||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
will generate the following output:
|
||||
이는 다음을 출력할 것입니다:
|
||||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
|
@ -66,21 +63,20 @@ test4.php
|
|||
</para>
|
||||
<note>
|
||||
<para>
|
||||
In PHP 4.0.1pl2 and previous versions
|
||||
<function>get_included_files</function> assumed that the
|
||||
required files ended in the extension <literal>.php</literal>;
|
||||
other extensions would not be returned. The array returned by
|
||||
<function>get_included_files</function> was an associative array
|
||||
and only listed files included by <function>include</function>
|
||||
and <function>include_once</function>.
|
||||
PHP 4.0.1pl2 이전 버전에서 <function>get_included_files</function>는,
|
||||
<literal>.php</literal> 확장자로 끝나는 파일만 반환하고, 다른 확장자는
|
||||
반환하지 않았습니다. <function>get_included_files</function>가 반환하는
|
||||
배열은 <function>include</function>와
|
||||
<function>include_once</function>로 포함한 파일만 가지는 연관
|
||||
배열이였습니다.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
See also
|
||||
참고:
|
||||
<function>include</function>,
|
||||
<function>include_once</function>,
|
||||
<function>require</function>,
|
||||
<function>require_once</function>, and
|
||||
<function>require_once</function>,
|
||||
<function>get_required_files</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,26 +1,24 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.71 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.6 Maintainer: progcom Status: ready -->
|
||||
<!-- CREDITS: myprogram -->
|
||||
<refentry id="function.get-loaded-extensions">
|
||||
<refnamediv>
|
||||
<refname>get_loaded_extensions</refname>
|
||||
<refpurpose>
|
||||
Returns an array with the names of all modules compiled and
|
||||
loaded
|
||||
적재된 모든 모듈명을 배열로 반환합니다.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>get_loaded_extensions</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
This function returns the names of all the modules compiled and
|
||||
loaded in the PHP interpreter.
|
||||
PHP 인터프리터에 적재된 모든 모듈명을 반환합니다.
|
||||
</para>
|
||||
<para>
|
||||
For example the line below
|
||||
아래는 예는
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
|
@ -30,7 +28,7 @@ print_r(get_loaded_extensions());
|
|||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
will print a list like:
|
||||
다음과 비슷하게 출력합니다:
|
||||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
|
@ -54,10 +52,10 @@ Array
|
|||
</informalexample>
|
||||
</para>
|
||||
<para>
|
||||
See also
|
||||
참고:
|
||||
<function>get_extension_funcs</function>,
|
||||
<function>extension_loaded</function>,
|
||||
<function>dl</function>, and
|
||||
<function>dl</function>,
|
||||
<function>phpinfo</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.71 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready -->
|
||||
<refentry id="function.get-required-files">
|
||||
<refnamediv>
|
||||
<refname>get_required_files</refname>
|
||||
<refpurpose>Alias of <function>get_included_files</function></refpurpose>
|
||||
<refpurpose><function>get_included_files</function>의 별칭.</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<para>
|
||||
This function is an alias of <function>get_included_files</function>.
|
||||
이 함수는 <function>get_included_files</function>의 별칭입니다.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,46 +1,45 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.2 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready -->
|
||||
<!-- CREDITS: myprogram -->
|
||||
<refentry id="function.getenv">
|
||||
<refnamediv>
|
||||
<refname>getenv</refname>
|
||||
<refpurpose>Gets the value of an environment variable</refpurpose>
|
||||
<refpurpose>환경 변수값을 얻습니다.</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>getenv</methodname>
|
||||
<methodparam><type>string</type><parameter>varname</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns the value of the environment variable
|
||||
<parameter>varname</parameter>, or &false; on an error.
|
||||
환경 변수 <parameter>varname</parameter>의 값을 반환하거나, 에러가 있을
|
||||
경우 &false;를 반환합니다.
|
||||
<informalexample>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
$ip = getenv("REMOTE_ADDR"); // get the ip number of the user
|
||||
$ip = getenv("REMOTE_ADDR"); // 사용자의 ip 번호를 얻습니다.
|
||||
?>
|
||||
]]>
|
||||
</programlisting>
|
||||
</informalexample>
|
||||
</para>
|
||||
<para>
|
||||
You can see a list of all the environmental variables by using
|
||||
<function>phpinfo</function>. You can find out what many of them
|
||||
mean by taking a look at the <ulink url="&url.cgispecs;">CGI
|
||||
specification</ulink>, specifically the <ulink
|
||||
url="&url.cgispec;">page on environmental variables</ulink>.
|
||||
모든 환경 변수 목록을 <function>phpinfo</function>를 사용하여 볼 수
|
||||
있습니다. 대부분의 의미는 <ulink url="&url.cgispecs;">CGI
|
||||
규정</ulink>에서, 정확히는 <ulink url="&url.cgispec;">환경 변수
|
||||
페이지</ulink>에서 확인할 수 있습니다.
|
||||
</para>
|
||||
<para>
|
||||
<note>
|
||||
<para>
|
||||
This function does not work in ISAPI mode.
|
||||
ISAPI 모드에서는 작동하지 않습니다.
|
||||
</para>
|
||||
</note>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>putenv</function>.
|
||||
참고: <function>putenv</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,29 +1,29 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.2 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready -->
|
||||
<!-- CREDITS: myprogram -->
|
||||
<refentry id="function.getlastmod">
|
||||
<refnamediv>
|
||||
<refname>getlastmod</refname>
|
||||
<refpurpose>Gets time of last page modification</refpurpose>
|
||||
<refpurpose>페이지를 수정한 최종 시간을 얻습니다.</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>int</type><methodname>getlastmod</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns the time of the last modification of the current
|
||||
page. The value returned is a Unix timestamp, suitable for
|
||||
feeding to <function>date</function>. Returns &false; on error.
|
||||
현재 페이지를 마지막으로 수정한 시간을 반환합니다. 반환값은
|
||||
<function>date</function>에 적합한 유닉스 타임스탬프입니다. 오류가
|
||||
발생하면 &false;를 반환합니다.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>getlastmod</function> example</title>
|
||||
<title><function>getlastmod</function> 예제</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// outputs e.g. 'Last modified: March 04 1998 20:43:59.'
|
||||
// 출력 예. 'Last modified: March 04 1998 20:43:59.'
|
||||
echo "Last modified: " . date ("F d Y H:i:s.", getlastmod());
|
||||
?>
|
||||
]]>
|
||||
|
@ -32,18 +32,18 @@ echo "Last modified: " . date ("F d Y H:i:s.", getlastmod());
|
|||
</para>
|
||||
<note>
|
||||
<simpara>
|
||||
If you're interested in getting the last modification time
|
||||
of a different file, consider using <function>filemtime</function>.
|
||||
다른 파일의 수정 시간을 얻고자 한다면, <function>filemtime</function>을
|
||||
사용하십시오.
|
||||
</simpara>
|
||||
</note>
|
||||
<para>
|
||||
See also
|
||||
참고:
|
||||
<function>date</function>,
|
||||
<function>getmyuid</function>,
|
||||
<function>getmygid</function>,
|
||||
<function>get_current_user</function>,
|
||||
<function>getmyinode</function>,
|
||||
<function>getmypid</function>, and
|
||||
<function>getmypid</function>,
|
||||
<function>filemtime</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,15 +1,14 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.23 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready -->
|
||||
<refentry id="function.ini-alter">
|
||||
<refnamediv>
|
||||
<refname>ini_alter</refname>
|
||||
<refpurpose>Alias of <function>ini_set</function></refpurpose>
|
||||
<refpurpose><function>ini_set</function>의 별칭</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<para>
|
||||
This function is an alias of <function>ini_set</function>.
|
||||
이 함수는 <function>ini_set</function>의 별칭입니다.
|
||||
</para>
|
||||
</refsect1>
|
||||
</refentry>
|
||||
|
|
|
@ -1,41 +1,37 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.6 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.23 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.6 Maintainer: progcom Status: ready -->
|
||||
<refentry id="function.ini-get-all">
|
||||
<refnamediv>
|
||||
<refname>ini_get_all</refname>
|
||||
<refpurpose>Gets all configuration options</refpurpose>
|
||||
<refpurpose>모든 설정 옵션을 얻습니다.</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>array</type><methodname>ini_get_all</methodname>
|
||||
<methodparam choice="opt"><type>string</type><parameter>extension</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns all the registered configuration options as an
|
||||
associative array. If the optional <parameter>extension</parameter>
|
||||
parameter is set, returns only options specific for that
|
||||
extension.
|
||||
등록된 모든 설정 옵션을 연관 배열로 반환합니다. 선택적인
|
||||
<parameter>extension</parameter>을 설정하면, 그 확장에 해당하는 옵션만을
|
||||
반환합니다.
|
||||
</para>
|
||||
<para>
|
||||
The returned array uses the directive name as the array key, with
|
||||
elements of that array being <literal>global_value</literal> (set in
|
||||
&php.ini;), <literal>local_value</literal> (perhaps set with
|
||||
<function>ini_set</function> or &htaccess;), and
|
||||
<literal>access</literal> (the access level). See the manual section
|
||||
on <link linkend="configuration.changes">configuration changes</link>
|
||||
for information on what access levels mean.
|
||||
지시어 이름을 배열 키로, <literal>global_value</literal>(&php.ini;에서
|
||||
설정), <literal>local_value</literal>(<function>ini_set</function>이나
|
||||
&htaccess;로 설정), <literal>access</literal>(접근 레벨)를 배열 요소로
|
||||
가지는 배열의 배열을 반환합니다. 접근 레벨에 대한 정보는 매뉴얼 섹션
|
||||
<link linkend="configuration.changes">설정 변경</link>를 참고하십시오.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
It's possible for a directive to have multiple access levels, which is
|
||||
why <literal>access</literal> shows the appropriate bitmask values.
|
||||
지시어가 복수의 접근 레벨을 가질 수 있기에, <literal>access</literal>는
|
||||
적절한 비트마스트 값을 가집니다.
|
||||
</para>
|
||||
</note>
|
||||
<para>
|
||||
<example>
|
||||
<title>A <function>ini_get_all</function> example</title>
|
||||
<title>A <function>ini_get_all</function> 예제</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
@ -47,7 +43,7 @@ print_r($inis);
|
|||
]]>
|
||||
</programlisting>
|
||||
<para>
|
||||
Partial output may look like:
|
||||
부분적인 출력 예:
|
||||
</para>
|
||||
<screen>
|
||||
<![CDATA[
|
||||
|
@ -74,10 +70,10 @@ Array
|
|||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also: <function>ini_get</function>,
|
||||
참고: <function>ini_get</function>,
|
||||
<function>ini_restore</function>,
|
||||
<function>ini_set</function>,
|
||||
<function>get_loaded_extensions</function>, and
|
||||
<function>get_loaded_extensions</function>,
|
||||
<function>phpinfo</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,24 +1,24 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.23 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready -->
|
||||
<!-- CREDITS: myprogram -->
|
||||
<refentry id="function.ini-restore">
|
||||
<refnamediv>
|
||||
<refname>ini_restore</refname>
|
||||
<refpurpose>Restores the value of a configuration option</refpurpose>
|
||||
<refpurpose>설정 옵션값을 복구합니다.</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>ini_restore</methodname>
|
||||
<methodparam><type>string</type><parameter>varname</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Restores a given configuration option to its original value.
|
||||
주어진 설정 옵션을 기본값으로 복구합니다.
|
||||
</para>
|
||||
<para>
|
||||
See also
|
||||
참고:
|
||||
<function>ini_get</function>,
|
||||
<function>ini_get_all</function>, and
|
||||
<function>ini_get_all</function>,
|
||||
<function>ini_set</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,28 +1,27 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.5 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.25 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.5 Maintainer: progcom Status: ready -->
|
||||
<!-- CREDITS: myprogram -->
|
||||
<refentry id="function.php-sapi-name">
|
||||
<refnamediv>
|
||||
<refname>php_sapi_name</refname>
|
||||
<refpurpose>
|
||||
Returns the type of interface between web server and PHP
|
||||
웹 서버와 PHP 간의 접근 형태를 반환합니다.
|
||||
</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>php_sapi_name</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
<function>php_sapi_name</function> returns a lowercase string
|
||||
which describes the type of interface between web server and PHP
|
||||
(Server API, SAPI). In CGI PHP, this string is "cgi", in mod_php
|
||||
for Apache, this string is "apache" and so on.
|
||||
<function>php_sapi_name</function>은 웹 서버와 PHP(서버 API, SAPI) 사이의
|
||||
접근 형태를 설명하는 소문자 문자열을 반환합니다. CGI PHP에서, 문자열은
|
||||
"cgi"이고, 아파치의 mod_php에서, 문자열은 "apache"인 형태입니다.
|
||||
</simpara>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>php_sapi_name</function> example</title>
|
||||
<title><function>php_sapi_name</function> 예제</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
|
|
|
@ -1,50 +1,44 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.4 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.72 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.4 Maintainer: progcom Status: ready -->
|
||||
<!-- CREDITS: myprogram -->
|
||||
<refentry id="function.set-time-limit">
|
||||
<refnamediv>
|
||||
<refname>set_time_limit</refname>
|
||||
<refpurpose>Limits the maximum execution time</refpurpose>
|
||||
<refpurpose>최대 실행 시간을 제한합니다.</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>void</type><methodname>set_time_limit</methodname>
|
||||
<methodparam><type>int</type><parameter>seconds</parameter></methodparam>
|
||||
</methodsynopsis>
|
||||
<simpara>
|
||||
Set the number of seconds a script is allowed to run. If this is
|
||||
reached, the script returns a fatal error. The default limit is
|
||||
30 seconds or, if it exists, the
|
||||
<literal>max_execution_time</literal> value defined in the &php.ini;.
|
||||
If <parameter>seconds</parameter> is set to zero, no time limit is
|
||||
imposed.
|
||||
스크립트가 실행 가능한 시간을 초 단위로 설정합니다. 이 시간에 도달하면
|
||||
스크립트는 치명적인 오류를 발생합니다. 기본 제한은 30초이거나,
|
||||
&php.ini;에 정의한 <literal>max_execution_time</literal> 값입니다.
|
||||
<parameter>seconds</parameter>를 0으로 설정하면, 시간 제한은 사라집니다.
|
||||
</simpara>
|
||||
<simpara>
|
||||
When called, <function>set_time_limit</function> restarts the
|
||||
timeout counter from zero. In other words, if the timeout is the
|
||||
default 30 seconds, and 25 seconds into script execution a call
|
||||
such as set_time_limit(20) is made, the script will run for a
|
||||
total of 45 seconds before timing out.
|
||||
호출할 때, <function>set_time_limit</function>은 종료 시간을 0부터 다시
|
||||
시작합니다. 즉, 기본 설정이 30초이고, 25초간 스크립트가 실행한 시점에서
|
||||
set_time_limit(20)를 호출하면, 스크립트는 시간 제한까지 총 45초를 실행할
|
||||
수 있습니다.
|
||||
</simpara>
|
||||
<warning>
|
||||
<para>
|
||||
<function>set_time_limit</function> has no effect when PHP is
|
||||
running in &safemode;. There is no workaround other than turning
|
||||
off safe mode or changing the time limit in the &php.ini;.
|
||||
<function>set_time_limit</function>는 PHP가 &safemode;일 때는 작동하지
|
||||
않습니다. 이 경우, 안전 모드를 설정하지 않거나, &php.ini;에서 시간
|
||||
제한을 변경해야 합니다.
|
||||
</para>
|
||||
</warning>
|
||||
<note>
|
||||
<para>
|
||||
The <function>set_time_limit</function> function and the
|
||||
configuration directive <link
|
||||
linkend="ini.max-execution-time">max_execution_time</link> only
|
||||
affect the execution time of the script itself. Any time spent
|
||||
on activity that happens outside the execution of the script
|
||||
such as system calls using <function>system</function>, the
|
||||
<function>sleep</function> function, database queries, etc. is
|
||||
not included when determining the maximum time that the script
|
||||
has been running.
|
||||
<function>set_time_limit</function> 함수와 설정 지시어 <link
|
||||
linkend="ini.max-execution-time">max_execution_time</link>는 스크립트
|
||||
자신의 실행 시간에만 영향을 받습니다. <function>system</function>을
|
||||
사용하는 시스템 콜이나, <function>sleep</function> 함수, 데이터베이스
|
||||
쿼리 등, 스크립트 밖에서 발생하는 행동은 스크립트 실행 시간을 측정하는
|
||||
데에 포함하지 않습니다.
|
||||
</para>
|
||||
</note>
|
||||
</refsect1>
|
||||
|
|
|
@ -1,28 +1,27 @@
|
|||
<?xml version="1.0" encoding="iso-8859-1"?>
|
||||
<!-- $Revision: 1.7 $ -->
|
||||
<!-- splitted from ./en/functions/info.xml, last change in rev 1.11 -->
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- EN-Revision: 1.7 Maintainer: progcom Status: ready -->
|
||||
<!-- CREDITS: myprogram -->
|
||||
<refentry id="function.zend-version">
|
||||
<refnamediv>
|
||||
<refname>zend_version</refname>
|
||||
<refpurpose>Gets the version of the current Zend engine</refpurpose>
|
||||
<refpurpose>현재 젠드 엔진의 버전을 얻습니다.</refpurpose>
|
||||
</refnamediv>
|
||||
<refsect1>
|
||||
<title>Description</title>
|
||||
<title>설명</title>
|
||||
<methodsynopsis>
|
||||
<type>string</type><methodname>zend_version</methodname>
|
||||
<void/>
|
||||
</methodsynopsis>
|
||||
<para>
|
||||
Returns a string containing the version of the currently running
|
||||
Zend Engine.
|
||||
현재 실행 중인 젠드 엔진 버전을 가지는 문자열을 반환합니다.
|
||||
</para>
|
||||
<para>
|
||||
<example>
|
||||
<title><function>zend_version</function> example</title>
|
||||
<title><function>zend_version</function> 예제</title>
|
||||
<programlisting role="php">
|
||||
<![CDATA[
|
||||
<?php
|
||||
// prints e.g. 'Zend engine version: 1.0.4'
|
||||
// 출력 예. 'Zend engine version: 1.0.4'
|
||||
echo "Zend engine version: " . zend_version();
|
||||
?>
|
||||
]]>
|
||||
|
@ -30,9 +29,9 @@ echo "Zend engine version: " . zend_version();
|
|||
</example>
|
||||
</para>
|
||||
<para>
|
||||
See also <function>phpinfo</function>,
|
||||
참고: <function>phpinfo</function>,
|
||||
<function>phpcredits</function>,
|
||||
<function>php_logo_guid</function>, and
|
||||
<function>php_logo_guid</function>,
|
||||
<function>phpversion</function>.
|
||||
</para>
|
||||
</refsect1>
|
||||
|
|
Loading…
Reference in a new issue