Skip to content

Commit 6896024

Browse files
committed
Add info about SplFileObject::seek() incompatibility to migration guide
Cf. <php/php-src#6434>. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@351790 c90b9560-bf6c-de11-be94-00142212c4b1
1 parent d2e351f commit 6896024

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

appendices/migration80/incompatible.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1292,6 +1292,12 @@ $array["key"];
12921292
<methodname>SplFileObject::fgetss</methodname> has been removed.
12931293
</para>
12941294
</listitem>
1295+
<listitem>
1296+
<para>
1297+
<methodname>SplFileObject::seek</methodname> now always seeks to the beginning of the line.
1298+
Previously, positions <literal>=1</literal> sought to the beginning of the next line.
1299+
</para>
1300+
</listitem>
12951301
<listitem>
12961302
<para>
12971303
<methodname>SplHeap::compare</methodname> now specifies a method signature. Inheriting classes

0 commit comments

Comments
 (0)