From a01646927103cebc08becb822d53b9a986343981 Mon Sep 17 00:00:00 2001 From: LEE Yun-young Date: Thu, 18 Dec 2003 11:45:26 +0000 Subject: [PATCH] some translations merged from mytechnic.com git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@146722 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/info/functions/get-cfg-var.xml | 30 +++++------ reference/info/functions/get-current-user.xml | 13 +++-- .../info/functions/get-defined-constants.xml | 26 ++++------ .../info/functions/get-extension-funcs.xml | 22 ++++---- .../info/functions/get-included-files.xml | 44 ++++++++-------- .../info/functions/get-loaded-extensions.xml | 22 ++++---- .../info/functions/get-required-files.xml | 11 ++-- reference/info/functions/getenv.xml | 29 ++++++----- reference/info/functions/getlastmod.xml | 28 +++++------ reference/info/functions/ini-alter.xml | 11 ++-- reference/info/functions/ini-get-all.xml | 40 +++++++-------- reference/info/functions/ini-restore.xml | 16 +++--- reference/info/functions/php-sapi-name.xml | 19 ++++--- reference/info/functions/set-time-limit.xml | 50 ++++++++----------- reference/info/functions/zend-version.xml | 21 ++++---- 15 files changed, 176 insertions(+), 206 deletions(-) diff --git a/reference/info/functions/get-cfg-var.xml b/reference/info/functions/get-cfg-var.xml index 2697d9d753..31b97efeab 100644 --- a/reference/info/functions/get-cfg-var.xml +++ b/reference/info/functions/get-cfg-var.xml @@ -1,38 +1,34 @@ - - - + + + get_cfg_var - Gets the value of a PHP configuration option + PHP 설정 옵션의 값을 얻습니다. - Description + 설명 stringget_cfg_var stringvarname - Returns the current value of the PHP configuration variable - specified by varname, or &false; if an - error occurs. + varname으로 지정한 PHP 설정 변수의 값을 + 반환하거나, 에러가 발생했을 때 &false;를 반환합니다. - 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 지시어를 이용하여) + 아파치 설정 파일에서 읽는 정보는 반환하지 않습니다. - To check whether the system is using a configuration file, try - retrieving the value of the cfg_file_path configuration - setting. If this is available, a configuration file is being - used. + 시스템이 어떤 설정 파일를 + 사용하는지 확인하려면, cfg_file_path 설정값을 확인해보십시오. 존재한다면, + 그 설정 파일을 사용합니다. - See also ini_get. + 참고: ini_get. diff --git a/reference/info/functions/get-current-user.xml b/reference/info/functions/get-current-user.xml index ad7b48e64b..3cba14c5e4 100644 --- a/reference/info/functions/get-current-user.xml +++ b/reference/info/functions/get-current-user.xml @@ -1,11 +1,10 @@ - - - + + get_current_user - Gets the name of the owner of the current PHP script + 현재 PHP 스크립트 소유자의 이름을 얻습니다. @@ -15,12 +14,12 @@ - Returns the name of the owner of the current PHP script. + 현재 PHP 스크립트 소유자의 이름을 반환합니다. - See also getmyuid, + 참고: getmyuid, getmygid, getmypid, - getmyinode, and + getmyinode, getlastmod. diff --git a/reference/info/functions/get-defined-constants.xml b/reference/info/functions/get-defined-constants.xml index 2b798cd9ad..b25f0a8af4 100644 --- a/reference/info/functions/get-defined-constants.xml +++ b/reference/info/functions/get-defined-constants.xml @@ -1,28 +1,25 @@ - - - + + get_defined_constants - Returns an associative array with the names of all the constants - and their values + 모든 상수와 그 값의 연관 배열을 반환합니다. - Description + 설명 arrayget_defined_constants - 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 define - function. + 현재 정의된 모든 상수의 이름과 값을 반환합니다. 여기에는 확장 모듈에서 + 작성한 상수와 define 함수로 작성한 상수를 + 포함합니다. - For example the line below: + 아래는 예제입니다: - will print a list like: + 다음과 같이 출력할 것입니다: - See also - get_loaded_extensions, - get_defined_functions, and + 참고: get_loaded_extensions, + get_defined_functions, get_defined_vars. diff --git a/reference/info/functions/get-extension-funcs.xml b/reference/info/functions/get-extension-funcs.xml index 2769bd7936..79879aa554 100644 --- a/reference/info/functions/get-extension-funcs.xml +++ b/reference/info/functions/get-extension-funcs.xml @@ -1,25 +1,25 @@ - - - + + + get_extension_funcs - Returns an array with the names of the functions of a module + 모듈의 함수명을 배열로 반환합니다. - Description + 설명 arrayget_extension_funcs stringmodule_name - This function returns the names of all the functions defined in - the module indicated by module_name. + module_name가 지시하는 모듈에 정의된 모든 + 함수명을 반환합니다. - For example the lines below + 아래는 예제입니다. - will print a list of the functions in the modules - xml and gd respectively. + xmlgd 모듈에 존재하는 함수 + 목록을 출력할 것입니다. - See also: get_loaded_extensions + 참고: get_loaded_extensions diff --git a/reference/info/functions/get-included-files.xml b/reference/info/functions/get-included-files.xml index b55e66d7e3..ff8a18c9f4 100644 --- a/reference/info/functions/get-included-files.xml +++ b/reference/info/functions/get-included-files.xml @@ -1,38 +1,35 @@ - - - + + get_included_files - Returns an array with the names of included or required files + include나 require한 파일명의 배열을 반환합니다. - Description + 설명 arrayget_included_files - Returns an array of the names of all files that have been - included using include, - include_once, require - or require_once. + include, include_once, + require, require_once를 + 사용하여 포함한 파일명을 배열로 반환합니다. - Files that are included or required multiple times only show up - once in the returned array. + 여러번 include나 require한 파일은 반환 배열에 한번만 나옵니다. - Files included using the auto_prepend_file - configuration directive are not included in the returned array. + auto_prepend_file 설정 지시어를 사용하여 포함한 + 파일은 반환 배열에 나오지 않습니다. - <function>get_included_files</function> example + <function>get_included_files</function> 예제 - will generate the following output: + 이는 다음을 출력할 것입니다: - In PHP 4.0.1pl2 and previous versions - get_included_files assumed that the - required files ended in the extension .php; - other extensions would not be returned. The array returned by - get_included_files was an associative array - and only listed files included by include - and include_once. + PHP 4.0.1pl2 이전 버전에서 get_included_files는, + .php 확장자로 끝나는 파일만 반환하고, 다른 확장자는 + 반환하지 않았습니다. get_included_files가 반환하는 + 배열은 include와 + include_once로 포함한 파일만 가지는 연관 + 배열이였습니다. - See also + 참고: include, include_once, require, - require_once, and + require_once, get_required_files. diff --git a/reference/info/functions/get-loaded-extensions.xml b/reference/info/functions/get-loaded-extensions.xml index da598e79b0..4f7b567680 100644 --- a/reference/info/functions/get-loaded-extensions.xml +++ b/reference/info/functions/get-loaded-extensions.xml @@ -1,26 +1,24 @@ - - - + + + get_loaded_extensions - Returns an array with the names of all modules compiled and - loaded + 적재된 모든 모듈명을 배열로 반환합니다. - Description + 설명 arrayget_loaded_extensions - This function returns the names of all the modules compiled and - loaded in the PHP interpreter. + PHP 인터프리터에 적재된 모든 모듈명을 반환합니다. - For example the line below + 아래는 예는 - will print a list like: + 다음과 비슷하게 출력합니다: - See also + 참고: get_extension_funcs, extension_loaded, - dl, and + dl, phpinfo. diff --git a/reference/info/functions/get-required-files.xml b/reference/info/functions/get-required-files.xml index c851b6348c..248b624e40 100644 --- a/reference/info/functions/get-required-files.xml +++ b/reference/info/functions/get-required-files.xml @@ -1,15 +1,14 @@ - - - + + get_required_files - Alias of get_included_files + get_included_files의 별칭. - Description + 설명 - This function is an alias of get_included_files. + 이 함수는 get_included_files의 별칭입니다. diff --git a/reference/info/functions/getenv.xml b/reference/info/functions/getenv.xml index 41abe0311a..1ac550305c 100644 --- a/reference/info/functions/getenv.xml +++ b/reference/info/functions/getenv.xml @@ -1,46 +1,45 @@ - - - + + + getenv - Gets the value of an environment variable + 환경 변수값을 얻습니다. - Description + 설명 stringgetenv stringvarname - Returns the value of the environment variable - varname, or &false; on an error. + 환경 변수 varname의 값을 반환하거나, 에러가 있을 + 경우 &false;를 반환합니다. ]]> - You can see a list of all the environmental variables by using - phpinfo. You can find out what many of them - mean by taking a look at the CGI - specification, specifically the page on environmental variables. + 모든 환경 변수 목록을 phpinfo를 사용하여 볼 수 + 있습니다. 대부분의 의미는 CGI + 규정에서, 정확히는 환경 변수 + 페이지에서 확인할 수 있습니다. - This function does not work in ISAPI mode. + ISAPI 모드에서는 작동하지 않습니다. - See also putenv. + 참고: putenv. diff --git a/reference/info/functions/getlastmod.xml b/reference/info/functions/getlastmod.xml index 4615f26b77..18e5215b32 100644 --- a/reference/info/functions/getlastmod.xml +++ b/reference/info/functions/getlastmod.xml @@ -1,29 +1,29 @@ - - - + + + getlastmod - Gets time of last page modification + 페이지를 수정한 최종 시간을 얻습니다. - Description + 설명 intgetlastmod - Returns the time of the last modification of the current - page. The value returned is a Unix timestamp, suitable for - feeding to date. Returns &false; on error. + 현재 페이지를 마지막으로 수정한 시간을 반환합니다. 반환값은 + date에 적합한 유닉스 타임스탬프입니다. 오류가 + 발생하면 &false;를 반환합니다. - <function>getlastmod</function> example + <function>getlastmod</function> 예제 ]]> @@ -32,18 +32,18 @@ echo "Last modified: " . date ("F d Y H:i:s.", getlastmod()); - If you're interested in getting the last modification time - of a different file, consider using filemtime. + 다른 파일의 수정 시간을 얻고자 한다면, filemtime을 + 사용하십시오. - See also + 참고: date, getmyuid, getmygid, get_current_user, getmyinode, - getmypid, and + getmypid, filemtime. diff --git a/reference/info/functions/ini-alter.xml b/reference/info/functions/ini-alter.xml index b8815c7a34..b5b49d36cb 100644 --- a/reference/info/functions/ini-alter.xml +++ b/reference/info/functions/ini-alter.xml @@ -1,15 +1,14 @@ - - - + + ini_alter - Alias of ini_set + ini_set의 별칭 - Description + 설명 - This function is an alias of ini_set. + 이 함수는 ini_set의 별칭입니다. diff --git a/reference/info/functions/ini-get-all.xml b/reference/info/functions/ini-get-all.xml index 3333651824..7302571593 100644 --- a/reference/info/functions/ini-get-all.xml +++ b/reference/info/functions/ini-get-all.xml @@ -1,41 +1,37 @@ - - - + + ini_get_all - Gets all configuration options + 모든 설정 옵션을 얻습니다. - Description + 설명 arrayini_get_all stringextension - Returns all the registered configuration options as an - associative array. If the optional extension - parameter is set, returns only options specific for that - extension. + 등록된 모든 설정 옵션을 연관 배열로 반환합니다. 선택적인 + extension을 설정하면, 그 확장에 해당하는 옵션만을 + 반환합니다. - The returned array uses the directive name as the array key, with - elements of that array being global_value (set in - &php.ini;), local_value (perhaps set with - ini_set or &htaccess;), and - access (the access level). See the manual section - on configuration changes - for information on what access levels mean. + 지시어 이름을 배열 키로, global_value(&php.ini;에서 + 설정), local_value(ini_set이나 + &htaccess;로 설정), access(접근 레벨)를 배열 요소로 + 가지는 배열의 배열을 반환합니다. 접근 레벨에 대한 정보는 매뉴얼 섹션 + 설정 변경를 참고하십시오. - It's possible for a directive to have multiple access levels, which is - why access shows the appropriate bitmask values. + 지시어가 복수의 접근 레벨을 가질 수 있기에, access는 + 적절한 비트마스트 값을 가집니다. - A <function>ini_get_all</function> example + A <function>ini_get_all</function> 예제 - Partial output may look like: + 부분적인 출력 예: - See also: ini_get, + 참고: ini_get, ini_restore, ini_set, - get_loaded_extensions, and + get_loaded_extensions, phpinfo. diff --git a/reference/info/functions/ini-restore.xml b/reference/info/functions/ini-restore.xml index 93bbb82788..e8a685ee13 100644 --- a/reference/info/functions/ini-restore.xml +++ b/reference/info/functions/ini-restore.xml @@ -1,24 +1,24 @@ - - - + + + ini_restore - Restores the value of a configuration option + 설정 옵션값을 복구합니다. - Description + 설명 stringini_restore stringvarname - Restores a given configuration option to its original value. + 주어진 설정 옵션을 기본값으로 복구합니다. - See also + 참고: ini_get, - ini_get_all, and + ini_get_all, ini_set. diff --git a/reference/info/functions/php-sapi-name.xml b/reference/info/functions/php-sapi-name.xml index 1e299fdbfa..a839bfc253 100644 --- a/reference/info/functions/php-sapi-name.xml +++ b/reference/info/functions/php-sapi-name.xml @@ -1,28 +1,27 @@ - - - + + + php_sapi_name - Returns the type of interface between web server and PHP + 웹 서버와 PHP 간의 접근 형태를 반환합니다. - Description + 설명 stringphp_sapi_name - php_sapi_name 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. + php_sapi_name은 웹 서버와 PHP(서버 API, SAPI) 사이의 + 접근 형태를 설명하는 소문자 문자열을 반환합니다. CGI PHP에서, 문자열은 + "cgi"이고, 아파치의 mod_php에서, 문자열은 "apache"인 형태입니다. - <function>php_sapi_name</function> example + <function>php_sapi_name</function> 예제 - - + + + set_time_limit - Limits the maximum execution time + 최대 실행 시간을 제한합니다. - Description + 설명 voidset_time_limit intseconds - 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 - max_execution_time value defined in the &php.ini;. - If seconds is set to zero, no time limit is - imposed. + 스크립트가 실행 가능한 시간을 초 단위로 설정합니다. 이 시간에 도달하면 + 스크립트는 치명적인 오류를 발생합니다. 기본 제한은 30초이거나, + &php.ini;에 정의한 max_execution_time 값입니다. + seconds를 0으로 설정하면, 시간 제한은 사라집니다. - When called, set_time_limit 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. + 호출할 때, set_time_limit은 종료 시간을 0부터 다시 + 시작합니다. 즉, 기본 설정이 30초이고, 25초간 스크립트가 실행한 시점에서 + set_time_limit(20)를 호출하면, 스크립트는 시간 제한까지 총 45초를 실행할 + 수 있습니다. - set_time_limit 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;. + set_time_limit는 PHP가 &safemode;일 때는 작동하지 + 않습니다. 이 경우, 안전 모드를 설정하지 않거나, &php.ini;에서 시간 + 제한을 변경해야 합니다. - The set_time_limit function and the - configuration directive max_execution_time 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 system, the - sleep function, database queries, etc. is - not included when determining the maximum time that the script - has been running. + set_time_limit 함수와 설정 지시어 max_execution_time는 스크립트 + 자신의 실행 시간에만 영향을 받습니다. system을 + 사용하는 시스템 콜이나, sleep 함수, 데이터베이스 + 쿼리 등, 스크립트 밖에서 발생하는 행동은 스크립트 실행 시간을 측정하는 + 데에 포함하지 않습니다. diff --git a/reference/info/functions/zend-version.xml b/reference/info/functions/zend-version.xml index 3cafedef21..2776056a16 100644 --- a/reference/info/functions/zend-version.xml +++ b/reference/info/functions/zend-version.xml @@ -1,28 +1,27 @@ - - - + + + zend_version - Gets the version of the current Zend engine + 현재 젠드 엔진의 버전을 얻습니다. - Description + 설명 stringzend_version - Returns a string containing the version of the currently running - Zend Engine. + 현재 실행 중인 젠드 엔진 버전을 가지는 문자열을 반환합니다. - <function>zend_version</function> example + <function>zend_version</function> 예제 ]]> @@ -30,9 +29,9 @@ echo "Zend engine version: " . zend_version(); - See also phpinfo, + 참고: phpinfo, phpcredits, - php_logo_guid, and + php_logo_guid, phpversion.