From 2094e7066738036ee639f79ba6f25f7eb86864a7 Mon Sep 17 00:00:00 2001 From: jdkfx Date: Sun, 10 Nov 2024 14:57:53 +0900 Subject: [PATCH] =?UTF-8?q?=E7=9C=81=E7=95=A5=E5=8F=AF=E8=83=BD=E3=81=AA?= =?UTF-8?q?=E6=8B=AC=E5=BC=A7=E3=81=AB=E3=81=A4=E3=81=84=E3=81=A6=E8=BF=BD?= =?UTF-8?q?=E8=A8=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- language/oop5/basic.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/language/oop5/basic.xml b/language/oop5/basic.xml index fcb5db4369..c5f863029e 100644 --- a/language/oop5/basic.xml +++ b/language/oop5/basic.xml @@ -1,7 +1,7 @@ - - + + クラスの基礎 @@ -380,6 +380,8 @@ bool(true) format('Y'); +// PHP 8.4.0 以降、囲む括弧は省略可能です。 +echo new DateTime()->format('Y'); ?> ]]>