svn: /phpdoc/ja/trunk/appendices/migration80/ incompatible.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Tue, 01 Dec 2020 23:55:35 +0000

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

Log:
Add info about SplFileObject::seek() incompatibility to migration guide

Cf. <https://github.com/php/php-src/pull/6434>.

Changed paths:
    U   phpdoc/ja/trunk/appendices/migration80/incompatible.xml

Modified: phpdoc/ja/trunk/appendices/migration80/incompatible.xml
===================================================================
--- phpdoc/ja/trunk/appendices/migration80/incompatible.xml	2020-12-01 23:52:08 UTC (rev 351826)
+++ phpdoc/ja/trunk/appendices/migration80/incompatible.xml	2020-12-01 23:55:35 UTC (rev 351827)
@@ -1311,6 +1311,14 @@
   <itemizedlist>
    <listitem>
     <para>
+     <methodname>SplFileObject::seek</methodname> は、
+     常に行の先頭にシークするようになりました。
+     これより前のバージョンでは、
+     <literal>=1</literal> を position に指定すると、次の行の先頭を探していました。
+    </para>
+   </listitem>
+   <listitem>
+    <para>
      <function>pg_connect</function> 関数で
      推奨されなくなっていた、
      接続文字列の代わりに複数の引数を受け入れる文法は
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.