cvs: phpdoc-ja /appendices migration5.xml
| From: | Rui Hirokawa | Date: | Sun, 28 Mar 2004 06:15:28 +0000 |
| Subject: | cvs: phpdoc-ja /appendices migration5.xml | ||
| Groups: | php.doc.ja | ||
| Request: | Send a blank email to doc-ja+get-693@lists.php.net to get a copy of this message | ||
hirokawa Sun Mar 28 01:15:28 2004 EDT
Modified files:
/phpdoc-ja/appendices migration5.xml
Log:
sync with en.
http://cvs.php.net/diff.php/phpdoc-ja/appendices/migration5.xml?r1=1.1&r2=1.2&ty=u
Index: phpdoc-ja/appendices/migration5.xml
diff -u phpdoc-ja/appendices/migration5.xml:1.1 phpdoc-ja/appendices/migration5.xml:1.2
--- phpdoc-ja/appendices/migration5.xml:1.1 Thu Feb 26 23:39:44 2004
+++ phpdoc-ja/appendices/migration5.xml Sun Mar 28 01:15:27 2004
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 1.1 $ -->
-<!-- EN-Revision: 1.9 Maintainer: hirokawa Status: working -->
+<!-- $Revision: 1.2 $ -->
+<!-- EN-Revision: 1.13 Maintainer: hirokawa Status: working -->
<appendix id="migration5">
<title>PHP 4 ãã PHP 5ã¸ã®ç§»è¡</title>
@@ -70,22 +70,11 @@
è¨å®ã«ããã常ã«argcããã³argvã使ããããã«è¡ããã¾ããã
ããã«ãããCLIçã§ã¯ã常ã«ã°ãã¼ãã«å¤æ°
$argc ããã³ $argv
ãè¨å®ãããããã«ãªãã¾ããã
-<!--
- $_SERVER
- should be populated with argc and argv if
- <link linkend="ini.variables-order">variables_order</link>
- includes "S". If
- you have specifically configured your system to not create $_SERVER,
- then of course it shouldn't be there.
-
- The change was to always make argc
- and argv available in the CLI version regardless of the <link
- linkend="ini.variables-order">variables_order</link> setting. As in,
- the CLI version will now always populate the global $argc and $argv
- variables.
--->
</simpara></listitem>
<listitem><simpara>
+
ããããã£ãæããªããªãã¸ã§ã¯ãã¯ãã¯ã"空"ã¨ã¯ã¿ãªããã¾ããã
+ </simpara></listitem>
+ <listitem><simpara>
ã¯ã©ã¹ã¯ã使ç¨åã«å®£è¨ããå¿
è¦ãããã¾ãã
</simpara></listitem>
</itemizedlist>
@@ -106,6 +95,26 @@
</example>
</para>
<para>
+ <example>
+
<title>ããããã£ãæããªããªãã¸ã§ã¯ãã¯ãã¯ã"空"ã¨ã¯ã¿ãªãããªã</title>
+ <programlisting role="php">
+<![CDATA[
+<?php
+class test { }
+$t = new test();
+
+var_dump(empty($t)); // echo bool(false)
+
+if (!$t) {
+ // å®è¡ããã
+}
+?>
+
+]]>
+ </programlisting>
+ </example>
+ </para>
+ <para>
以ä¸ã®ä¾ã¯PHP 4ã§ã¯æå¹ã§ããããPHP
5ã§ã¯è´å½çãªã¨ã©ã¼ã
çºçãã¾ãã
</para>
@@ -153,7 +162,7 @@
<title>è¨å®ãã¡ã¤ã«ã®ç§»è¡</title>
<para>
SAPIã¢ã¸ã¥ã¼ã«ã®ååãphp4xxxããphp5xxxã«å¤æ´ãããããã
-
è¨å®ãã¡ã¤ã«ã夿´ããrå¿
è¦ãããã¾ãã
+
è¨å®ãã¡ã¤ã«ã夿´ããå¿
è¦ãããã¾ãã
ã¾ããCLIããã³CGIã®ãã¡ã¤ã«åã夿´ããã¦ãã¾ãã詳細ã«ã¤ãã¦ã¯ã
<link
linkend="migration5.cli-cgi">対å¿ããã»ã¯ã·ã§ã³</link>ã
åç
§ãã¦ä¸ããã
@@ -190,7 +199,8 @@
</informalexample>
</para>
<para>
-
ä»ã®Webãµã¼ãã®å ´åãCGIã¾ãã¯SAPIã¢ã¸ã¥ã¼ã«ã®ãã¡ã¤ã«åã夿´ããå¿
è¦ãããã¾ãã
+
ä»ã®Webãµã¼ãã®å ´åãCGIã¾ãã¯SAPIã¢ã¸ã¥ã¼ã«ã®ãã¡ã¤ã«åã夿´ãã
+ å¿
è¦ãããã¾ãã
</para>
</section>
@@ -524,6 +534,9 @@
-
ã¯ããã¤ããªããã·ã¥ãã¼ã¿ãå¯èªãªå½¢å¼ã«å¤æããéã«åæåã«ä¿åãããããæ°
(4 ãã 6 ã¾ã§)ãæå®ãã¾ãã
</simpara></listitem>
+ <listitem><simpara>
+ zend.ze1_compatibility_mode - Zend Engine 1 (PHP
4)äºæã¢ã¼ããæå¹ã«ãã¾ãã
+ </simpara></listitem>
</itemizedlist>
</section>