svn: /phpdoc/zh/trunk/appendices/ migration72/incompatible.xml migration73/constants.xml migration73/incompatible.xml migration74/new-features.xml
[email protected] (Bole Chen) Mon, 23 Nov 2020 10:02:47 +0000
| Newsgroups | php.doc.zh |
|---|---|
| Message-ID | <[email protected]> |
avenger Mon, 23 Nov 2020 10:02:47 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=351537
Log:
sync to en.
Changed paths:
U phpdoc/zh/trunk/appendices/migration72/incompatible.xml
U phpdoc/zh/trunk/appendices/migration73/constants.xml
U phpdoc/zh/trunk/appendices/migration73/incompatible.xml
UU phpdoc/zh/trunk/appendices/migration74/new-features.xml
Modified: phpdoc/zh/trunk/appendices/migration72/incompatible.xml
===================================================================
--- phpdoc/zh/trunk/appendices/migration72/incompatible.xml 2020-11-23 09:40:06 UTC (rev 351536)
+++ phpdoc/zh/trunk/appendices/migration72/incompatible.xml 2020-11-23 10:02:47 UTC (rev 351537)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 348153 Maintainer: avenger Status: partial -->
+<!-- EN-Revision: 350707 Maintainer: avenger Status: partial -->
<!-- Reviewed: no -->
<sect1 xml:id="migration72.incompatible">
@@ -336,6 +336,16 @@
is now <literal>7200</literal>.
</para>
</sect2>
+
+ <sect2 xml:id="migration72.incompatible.cookie-decode">
+ <title>Incoming Cookies</title>
+
+ <para>
+ As of PHP 7.2.34, the <emphasis>names</emphasis> of incoming cookies are no
+ longer url-decoded for security reasons.
+ </para>
+ </sect2>
+
</sect1>
<!-- Keep this comment at the end of the file
Modified: phpdoc/zh/trunk/appendices/migration73/constants.xml
===================================================================
--- phpdoc/zh/trunk/appendices/migration73/constants.xml 2020-11-23 09:40:06 UTC (rev 351536)
+++ phpdoc/zh/trunk/appendices/migration73/constants.xml 2020-11-23 10:02:47 UTC (rev 351537)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 346281 Maintainer: jhdxr Status: ready -->
+<!-- EN-Revision: 347365 Maintainer: jhdxr Status: ready -->
<!-- Reviewed: no -->
<sect1 xml:id="migration73.constants" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -213,6 +213,9 @@
<simpara><constant>CURL_SSLVERSION_TLSv1_3</constant></simpara>
</listitem>
<listitem>
+ <simpara><constant>CURL_VERSION_ALTSVC</constant> (as of PHP 7.3.6)</simpara>
+ </listitem>
+ <listitem>
<simpara><constant>CURL_VERSION_ASYNCHDNS</constant></simpara>
</listitem>
<listitem>
@@ -222,6 +225,9 @@
<simpara><constant>CURL_VERSION_CONV</constant></simpara>
</listitem>
<listitem>
+ <simpara><constant>CURL_VERSION_CURLDEBUG</constant> (as of PHP 7.3.6)</simpara>
+ </listitem>
+ <listitem>
<simpara><constant>CURL_VERSION_DEBUG</constant></simpara>
</listitem>
<listitem>
@@ -249,6 +255,9 @@
<simpara><constant>CURL_VERSION_NTLM_WB</constant></simpara>
</listitem>
<listitem>
+ <simpara><constant>CURL_VERSION_PSL</constant> (as of PHP 7.3.6)</simpara>
+ </listitem>
+ <listitem>
<simpara><constant>CURL_VERSION_SPNEGO</constant></simpara>
</listitem>
<listitem>
Modified: phpdoc/zh/trunk/appendices/migration73/incompatible.xml
===================================================================
--- phpdoc/zh/trunk/appendices/migration73/incompatible.xml 2020-11-23 09:40:06 UTC (rev 351536)
+++ phpdoc/zh/trunk/appendices/migration73/incompatible.xml 2020-11-23 10:02:47 UTC (rev 351537)
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
-<!-- EN-Revision: 349711 Maintainer: avenger Status: partial -->
+<!-- EN-Revision: 351133 Maintainer: avenger Status: partial -->
<!-- Reviewed: no -->
<sect1 xml:id="migration73.incompatible" xmlns:xlink="http://www.w3.org/1999/xlink">
@@ -304,12 +304,21 @@
<para>
Mathematic operations involving <link
linkend="book.simplexml">SimpleXML</link> objects will now treat the text as
- an <type>integer</type> or <type>float</type>, whichever is more appropriate.
- Previously values were treated as <type>integer</type>s unconditionally.
+ an <type>int</type> or <type>float</type>, whichever is more appropriate.
+ Previously values were treated as <type>int</type>s unconditionally.
</para>
</sect2>
+ <sect2 xml:id="migration73.incompatible.cookie-decode">
+ <title>Incoming Cookies</title>
+
+ <para>
+ As of PHP 7.3.23, the <emphasis>names</emphasis> of incoming cookies are no
+ longer url-decoded for security reasons.
+ </para>
+ </sect2>
+
</sect1>
<!-- Keep this comment at the end of the file
Modified: phpdoc/zh/trunk/appendices/migration74/new-features.xml
===================================================================
--- phpdoc/zh/trunk/appendices/migration74/new-features.xml 2020-11-23 09:40:06 UTC (rev 351536)
+++ phpdoc/zh/trunk/appendices/migration74/new-features.xml 2020-11-23 10:02:47 UTC (rev 351537)
@@ -1,8 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision: 350263 $ -->
-<!-- EN-Revision: 350263 Maintainer: Avenger Status: partial -->
+<!-- $Revision$ -->
+<!-- EN-Revision: 351133 Maintainer: avenger Status: ready -->
<!-- Reviewed: no -->
+
<sect1 xml:id="migration74.new-features" xmlns:xlink="http://www.w3.org/1999/xlink">
<title>新特性</title>
@@ -26,7 +27,7 @@
]]>
</programlisting>
</informalexample>
- 上面的例子中,会强制要求 <literal>$user->id</literal> 只能为 <type>integer</type>
+ 上面的例子中,会强制要求 <literal>$user->id</literal> 只能为 <type>int</type>
类型,同时 <literal>$user->name</literal> 只能为 <type>string</type> 类型。
</para>
</sect3>
Property changes on: phpdoc/zh/trunk/appendices/migration74/new-features.xml
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id Rev Revision Date LastChangedDate LastChangedRevision Author LastChangedBy HeadURL URL
\ No newline at end of property