svn: /phpdoc/ja/trunk/reference/curl/ curlfile/wakeup.xml curlfile.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Thu, 26 Nov 2020 00:12:40 +0000

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

Log:
Remove confusing CURLFile::__wakeup() page

A respective note on the class page appears to be more appropriate.
Cf. <https://github.com/php/doc-en/pull/231>.

Changed paths:
    D   phpdoc/ja/trunk/reference/curl/curlfile/wakeup.xml
    U   phpdoc/ja/trunk/reference/curl/curlfile.xml

Deleted: phpdoc/ja/trunk/reference/curl/curlfile/wakeup.xml
===================================================================
--- phpdoc/ja/trunk/reference/curl/curlfile/wakeup.xml	2020-11-26 00:08:13 UTC (rev 351654)
+++ phpdoc/ja/trunk/reference/curl/curlfile/wakeup.xml	2020-11-26 00:12:40 UTC (rev 351655)
@@ -1,63 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!-- $Revision$ -->
-<!-- EN-Revision: 330234 Maintainer: takagi Status: ready -->
-
-<refentry xml:id="curlfile.wakeup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
- <refnamediv>
-  <refname>CURLFile::__wakeup</refname>
-  <refpurpose>アンシリアライズ用ハンドラ</refpurpose>
- </refnamediv>
-
- <refsect1 role="description">
-  &reftitle.description;
-  <methodsynopsis>
-   <modifier>public</modifier> <type>void</type><methodname>CURLFile::__wakeup</methodname>
-   <void />
-  </methodsynopsis>
-  <para>
-
-  </para>
-
- </refsect1>
-
- <refsect1 role="parameters">
-  &reftitle.parameters;
-  &no.function.parameters;
- </refsect1>
-
- <refsect1 role="returnvalues">
-  &reftitle.returnvalues;
-  <para>
-   &return.void;
-  </para>
- </refsect1>
-
- <refsect1 role="errors">
-  &reftitle.errors;
-  <para>
-   CURLFile はシリアライズできません。
-  </para>
- </refsect1>
-
-</refentry>
-
-<!-- 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
--->

Modified: phpdoc/ja/trunk/reference/curl/curlfile.xml
===================================================================
--- phpdoc/ja/trunk/reference/curl/curlfile.xml	2020-11-26 00:08:13 UTC (rev 351654)
+++ phpdoc/ja/trunk/reference/curl/curlfile.xml	2020-11-26 00:12:40 UTC (rev 351655)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351621 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 351623 Maintainer: takagi Status: ready -->
 <!-- Credits: mumumu -->

 <phpdoc:classref xml:id="class.curlfile" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
@@ -17,6 +17,11 @@
     <constant>CURLOPT_POSTFIELDS</constant> でファイルのアップロードをするには、
     <classname>CURLFile</classname> を使わなければいけません。
    </para>
+   <para>
+    <classname>CURLFile</classname>
+    のインスタンスをデシリアライズすることはできません。
+    PHP 7.4.0 以降では、そもそもシリアライズ自体も禁止されています。
+   </para>
   </section>
 <!-- }}} -->
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.