From b407c3f49f6473af568e209342abfa8e2fa741c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=AD=A6=E7=94=B0=20=E6=86=B2=E5=A4=AA=E9=83=8E?= Date: Sun, 9 Aug 2026 11:38:25 +0900 Subject: [PATCH] =?UTF-8?q?SPL/SQLite3=20=E3=81=AE=E3=82=AF=E3=83=A9?= =?UTF-8?q?=E3=82=B9=E5=AE=9A=E6=95=B0=E3=81=AE=E5=9E=8B=E4=BB=98=E3=81=91?= =?UTF-8?q?=20(PHP=208.4)=20=E3=82=92=E8=BF=BD=E5=BE=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit php/doc-en#5736(ext/spl, ext/sqlite3: document typed class constants (PHP 8.4))に追従。 追加された changelog セクションは markup とエンティティ参照のみなので en と同一のブロックを 配置し、参照先の `changelog.class-constants-typed` を language-snippets.ent に訳出した。 - language-snippets.ent - reference/spl/{arrayiterator,arrayobject,cachingiterator,filesystemiterator,multipleiterator,recursivearrayiterator,recursiveiteratoriterator,recursivetreeiterator,regexiterator,spldoublylinkedlist,splfileobject,splpriorityqueue}.xml - reference/sqlite3/sqlite3.xml Claude-Session: https://claude.ai/code/session_01K6brFspu89YyXW3GtGSxVg --- language-snippets.ent | 3 +++ reference/spl/arrayiterator.xml | 19 ++++++++++++++++++- reference/spl/arrayobject.xml | 19 ++++++++++++++++++- reference/spl/cachingiterator.xml | 19 ++++++++++++++++++- reference/spl/filesystemiterator.xml | 19 ++++++++++++++++++- reference/spl/multipleiterator.xml | 19 ++++++++++++++++++- reference/spl/recursivearrayiterator.xml | 19 ++++++++++++++++++- reference/spl/recursiveiteratoriterator.xml | 19 ++++++++++++++++++- reference/spl/recursivetreeiterator.xml | 19 ++++++++++++++++++- reference/spl/regexiterator.xml | 19 ++++++++++++++++++- reference/spl/spldoublylinkedlist.xml | 19 ++++++++++++++++++- reference/spl/splfileobject.xml | 19 ++++++++++++++++++- reference/spl/splpriorityqueue.xml | 19 ++++++++++++++++++- reference/sqlite3/sqlite3.xml | 19 ++++++++++++++++++- 14 files changed, 237 insertions(+), 13 deletions(-) diff --git a/language-snippets.ent b/language-snippets.ent index 69dafd7d29..5ee206c9d3 100644 --- a/language-snippets.ent +++ b/language-snippets.ent @@ -9,6 +9,9 @@ 4.2.0 乱数生成器が自動的にシードを生成するようになりました。'> +8.4.0 +クラス定数が型付けされるようになりました。'> + この機能は PHP 5.3.0 で 非推奨となりました。 diff --git a/reference/spl/arrayiterator.xml b/reference/spl/arrayiterator.xml index ddbdc66d97..163c19b181 100644 --- a/reference/spl/arrayiterator.xml +++ b/reference/spl/arrayiterator.xml @@ -1,6 +1,6 @@ - + ArrayIterator クラス @@ -113,6 +113,23 @@ }}} --> +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.arrayiterator; diff --git a/reference/spl/arrayobject.xml b/reference/spl/arrayobject.xml index 1e196377d5..768db65640 100644 --- a/reference/spl/arrayobject.xml +++ b/reference/spl/arrayobject.xml @@ -1,6 +1,6 @@ - + ArrayObject クラス ArrayObject @@ -109,6 +109,23 @@ }}} --> +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.arrayobject; diff --git a/reference/spl/cachingiterator.xml b/reference/spl/cachingiterator.xml index 44f6ff8cc5..2e0f0e1147 100644 --- a/reference/spl/cachingiterator.xml +++ b/reference/spl/cachingiterator.xml @@ -1,6 +1,6 @@ - + CachingIterator クラス CachingIterator @@ -177,6 +177,23 @@ +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.cachingiterator; diff --git a/reference/spl/filesystemiterator.xml b/reference/spl/filesystemiterator.xml index f6c5944d70..b0563d4c0d 100644 --- a/reference/spl/filesystemiterator.xml +++ b/reference/spl/filesystemiterator.xml @@ -1,6 +1,6 @@ - + FilesystemIterator クラス @@ -200,6 +200,23 @@ +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.filesystemiterator; diff --git a/reference/spl/multipleiterator.xml b/reference/spl/multipleiterator.xml index 3d6e11c0d5..59d3e9d4d2 100644 --- a/reference/spl/multipleiterator.xml +++ b/reference/spl/multipleiterator.xml @@ -1,6 +1,6 @@ - + MultipleIterator クラス @@ -111,6 +111,23 @@ +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.multipleiterator; diff --git a/reference/spl/recursivearrayiterator.xml b/reference/spl/recursivearrayiterator.xml index 6766995cd5..5e2ee32a0a 100644 --- a/reference/spl/recursivearrayiterator.xml +++ b/reference/spl/recursivearrayiterator.xml @@ -1,6 +1,6 @@ - + RecursiveArrayIterator クラス @@ -88,6 +88,23 @@ }}} --> +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.recursivearrayiterator; diff --git a/reference/spl/recursiveiteratoriterator.xml b/reference/spl/recursiveiteratoriterator.xml index f074f291b4..1a3ac6a8bc 100644 --- a/reference/spl/recursiveiteratoriterator.xml +++ b/reference/spl/recursiveiteratoriterator.xml @@ -1,6 +1,6 @@ - + RecursiveIteratorIterator クラス @@ -101,6 +101,23 @@ +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.recursiveiteratoriterator; diff --git a/reference/spl/recursivetreeiterator.xml b/reference/spl/recursivetreeiterator.xml index 8b25a9ab60..e519aec68a 100644 --- a/reference/spl/recursivetreeiterator.xml +++ b/reference/spl/recursivetreeiterator.xml @@ -1,6 +1,6 @@ - + @@ -167,6 +167,23 @@ +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.recursivetreeiterator; diff --git a/reference/spl/regexiterator.xml b/reference/spl/regexiterator.xml index 2bbc682e28..2ba8ec2a37 100644 --- a/reference/spl/regexiterator.xml +++ b/reference/spl/regexiterator.xml @@ -1,6 +1,6 @@ - + RegexIterator クラス RegexIterator @@ -203,6 +203,23 @@ }}} --> +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.regexiterator; diff --git a/reference/spl/spldoublylinkedlist.xml b/reference/spl/spldoublylinkedlist.xml index 05e163cfb8..f150d73242 100644 --- a/reference/spl/spldoublylinkedlist.xml +++ b/reference/spl/spldoublylinkedlist.xml @@ -1,6 +1,6 @@ - + SplDoublyLinkedList クラス @@ -144,6 +144,23 @@ }}} --> +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.spldoublylinkedlist; diff --git a/reference/spl/splfileobject.xml b/reference/spl/splfileobject.xml index ce2dcde40b..b0571513cf 100644 --- a/reference/spl/splfileobject.xml +++ b/reference/spl/splfileobject.xml @@ -1,6 +1,6 @@ - + @@ -110,6 +110,23 @@ +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.splfileobject; diff --git a/reference/spl/splpriorityqueue.xml b/reference/spl/splpriorityqueue.xml index 28bcd8d860..fb97a93939 100644 --- a/reference/spl/splpriorityqueue.xml +++ b/reference/spl/splpriorityqueue.xml @@ -1,6 +1,6 @@ - + SplPriorityQueue クラス @@ -106,6 +106,23 @@ }}} --> +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.spl.entities.splpriorityqueue; diff --git a/reference/sqlite3/sqlite3.xml b/reference/sqlite3/sqlite3.xml index 6935f9edbc..36b3dcb1cd 100644 --- a/reference/sqlite3/sqlite3.xml +++ b/reference/sqlite3/sqlite3.xml @@ -1,6 +1,6 @@ - + SQLite3 クラス SQLite3 @@ -522,6 +522,23 @@ +
+ &reftitle.changelog; + + + + + &Version; + &Description; + + + + &changelog.class-constants-typed; + + + +
+ &reference.sqlite3.entities.sqlite3;