From a2ea8237a05c255efbdabf3382fe21478bfe284b Mon Sep 17 00:00:00 2001 From: lacatoire Date: Tue, 3 Mar 2026 19:29:07 +0100 Subject: [PATCH] Sync SPL files with doc-en MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update EN-Revision for recursivefilteriterator.xml, splpriorityqueue.xml, outofboundsexception.xml (phpdoc:classref → reference migration) - Update splfileobject/fwrite.xml: nullable length parameter (PHP 8.5) --- reference/spl/outofboundsexception.xml | 2 +- reference/spl/recursivefilteriterator.xml | 2 +- reference/spl/splfileobject/fwrite.xml | 12 +++++++++--- reference/spl/splpriorityqueue.xml | 2 +- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/reference/spl/outofboundsexception.xml b/reference/spl/outofboundsexception.xml index 60a8870d32..f9c0885960 100644 --- a/reference/spl/outofboundsexception.xml +++ b/reference/spl/outofboundsexception.xml @@ -1,6 +1,6 @@ - + OutOfBoundsException クラス diff --git a/reference/spl/recursivefilteriterator.xml b/reference/spl/recursivefilteriterator.xml index cc75464e18..ce579fa84c 100644 --- a/reference/spl/recursivefilteriterator.xml +++ b/reference/spl/recursivefilteriterator.xml @@ -1,6 +1,6 @@ - + RecursiveFilterIterator クラス diff --git a/reference/spl/splfileobject/fwrite.xml b/reference/spl/splfileobject/fwrite.xml index 74f4164e43..7087afae88 100644 --- a/reference/spl/splfileobject/fwrite.xml +++ b/reference/spl/splfileobject/fwrite.xml @@ -1,6 +1,6 @@ - + @@ -13,7 +13,7 @@ public intfalseSplFileObject::fwrite stringdata - intlength0 + intnulllength&null; Writes the contents of data to the file @@ -36,7 +36,7 @@ length - length 引数が渡される場合、length バイト分だけ書き込まれた後もしくは data の終端に達するのどちらか早い方の後で書き込みが停止します。 + length 引数が int の場合、length バイト分だけ書き込まれた後もしくは data の終端に達するのどちらか早い方の後で書き込みが停止します。 @@ -62,6 +62,12 @@ + + 8.5.0 + + length は nullable になりました。 + + 7.4.0 diff --git a/reference/spl/splpriorityqueue.xml b/reference/spl/splpriorityqueue.xml index 851474689f..c85c9d36ae 100644 --- a/reference/spl/splpriorityqueue.xml +++ b/reference/spl/splpriorityqueue.xml @@ -1,6 +1,6 @@ - + SplPriorityQueue クラス