svn: /phpdoc/kr/trunk/appendices/migration70/ other-changes.xml

[email protected] (Yu Ilho) Tue, 29 Mar 2016 07:14:30 +0000
Newsgroups php.doc.kr
Message-ID <[email protected]>
acidd15                                  Tue, 29 Mar 2016 07:14:30 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=338843

Log:
translate to test

Changed paths:
    A   phpdoc/kr/trunk/appendices/migration70/other-changes.xml

Added: phpdoc/kr/trunk/appendices/migration70/other-changes.xml
===================================================================
--- phpdoc/kr/trunk/appendices/migration70/other-changes.xml	                        (rev 0)
+++ phpdoc/kr/trunk/appendices/migration70/other-changes.xml	2016-03-29 07:14:30 UTC (rev 338843)
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- $Revision$ -->
+<!-- EN-Revision: 337986 Maintainer: JiMyung Lee Status: ready -->
+<!-- Reviewed: no -->
+
+<sect1 xml:id="migration70.other-changes" xmlns:xlink="http://www.w3.org/1999/xlink">
+ <title>기타 변경사항</title>
+
+ <sect2 xml:id="migration70.other-changes.loosening-reserved-words">
+  <title>예약어 제약의 완화</title>
+
+  <para>
+   클래스와 인터페이스 그리고 트레이트 내부에서 속성과 상수 그리고 메소드의 이름에 글로벌 예약어를 사용할 수 있게 되었습니다. 이제 앞으로 새로운 키워드가 도입 된 경우에도 하위 호환성을 유지하기 쉬워집니다. 그리고 API 명명 제약도 줄일 수 있을 것입니다.
+  </para>
+
+  <para>
+   이것은 Fluent interfaces를 이용한 내부 DSL을 만들 때 유용합니다.
+  </para>
+  <informalexample>
+   <programlisting role="php">
+<![CDATA[
+<?php
+// 'new', 'private', 'for'는 통상적 인 경우 사용할 수 없습니다
+Project::new('Project Name')->private()->for('purpose here')->with('username here');
+?>
+]]>
+   </programlisting>
+  </informalexample>
+
+  <para>
+   유일한 예외는 <literal>class</literal> 키워드는 여전히 상수 이름으로 사용할 수 없습니다. 이것을 허용할 경우 클래스 이름 확인 구문(<literal>ClassName::class</literal>)과 충돌해 버리기 때문입니다.
+  </para>
+ </sect2>
+
+ <sect2 xml:id="migration70.other-changes.remove-date-timezone-warning">
+  <title>date.timezone 경고 삭제</title>
+
+  <para>
+   이전 버전에서는 INI 항목 <systemitem role="directive">date.timezone</systemitem>을 설정하지 않고 날짜 및 시간 관련 함수를 사용하려고 하면 경고가 발생했습니다. PHP 7에서는 이 경고가 발생하지 않습니다 (<systemitem role="directive">date.timezone</systemitem>의 기본은 여전히 UTC입니다).
+  </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/appendices/migration70/other-changes.xml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
Added: svn:eol-style
   + native