svn: /phpdoc/kr/trunk/language/types/ pseudo-types.xml
| From: | Yu Ilho | Date: | Thu, 09 Oct 2014 14:40:38 +0000 |
| Subject: | svn: /phpdoc/kr/trunk/language/types/ pseudo-types.xml | ||
| Groups: | php.doc.kr | ||
| Request: | Send a blank email to doc-kr+get-1933@lists.php.net to get a copy of this message | ||
acidd15 Thu, 09 Oct 2014 14:40:38 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=335038
Log:
initial translate
Changed paths:
A phpdoc/kr/trunk/language/types/pseudo-types.xml
Added: phpdoc/kr/trunk/language/types/pseudo-types.xml
===================================================================
--- phpdoc/kr/trunk/language/types/pseudo-types.xml (rev 0)
+++ phpdoc/kr/trunk/language/types/pseudo-types.xml 2014-10-09 14:40:38 UTC (rev 335038)
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 324122 Maintainer: acidd15 Status: ready -->
+<!-- Reviewed: no -->
+
+<sect1 xml:id="language.pseudo-types">
+ <title>슈도(Pseudo) 타입과 이 문서에서 사용되고 있는 변수들</title>
+
+ <sect2 xml:id="language.types.mixed">
+ <title>혼합됨(mixed)</title>
+
+ <para>
+ <literal>mixed</literal> 파라미터가 여러가지 타입을 수용할수
있음을 나타냅니다.(하지만 전부를 필요로 하지 않음)
+ </para>
+
+ <para>
+ <function>gettype</function> 를 예로들면 이 함수는 모든 PHP 타입을
수용합니다. 반면에
+ <function>str_replace</function> 는 <type>string</type> 과
+ <type>array</type> 들을 수용합니다.
+ </para>
+
+ </sect2>
+
+ <sect2 xml:id="language.types.number">
+ <title>number</title>
+
+ <para>
+ <literal>number</literal> 파라미터가 <type>integer</type> 또는
<type>float</type> 를 수용할수 있음을 나타냅니다.
+ </para>
+
+ </sect2>
+
+ <sect2 xml:id="language.types.callback">
+ <title>callback</title>
+
+ <para>
+ 이 문서에서 사용된 <type>callback</type> 슈도 타입은 PHP 5.4 에서
소개된 <type>callable</type> 타입 힌트와 같습니다. 둘다 모두 동일한
의미를 가집니다.
+ </para>
+
+ </sect2>
+
+ <sect2 xml:id="language.types.void">
+ <title>void</title>
+
+ <para>
+ 리턴타입으로서 <literal>void</literal> 는 그 리턴값이 쓸모없음을
의미합니다. 파라미터에 <literal>void</literal> 는 해당 함수가
파라미터를 수용하지 않음을 의미합니다.
+ </para>
+
+ </sect2>
+
+ <sect2 xml:id="language.types.dotdotdot">
+ <title>...</title>
+
+ <para>
+ 함수 프로토타입에서 <parameter>$...</parameter> 는
+ <literal>그리고 등등</literal> 을 의미합니다. 이것은 함수의
인자개수가 정해져 있지 않고 가변임을 의미합니다.
+ </para>
+
+ </sect2>
+</sect1>
+
+<!-- Keep this comment at the end of the file
+Local variables:
+mode: sgml
+sgml-omittag:t
+sgml-shorttag:t
+sgml-minimize-attributes:nil
+sgml-always-quote-attributes:t
+sgml-indent-step:1
+sgml-indent-data:t
+indent-tabs-mode:nil
+sgml-parent-document:nil
+sgml-default-dtd-file:"~/.phpdoc/manual.ced"
+sgml-exposed-tags:nil
+sgml-local-catalogs:nil
+sgml-local-ecat-files:nil
+End:
+vim600: syn=xml fen fdm=syntax fdl=2 si
+vim: et tw=78 syn=sgml
+vi: ts=1 sw=1
+-->
Property changes on: phpdoc/kr/trunk/language/types/pseudo-types.xml
___________________________________________________________________
Added: svn:eol-style
+ native
Added: svn:keywords
+ Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL