We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8e578c commit 0ecd4d1Copy full SHA for 0ecd4d1
language/oop5/basic.xml
@@ -1,7 +1,7 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- $Revision$ -->
3
-<!-- EN-Revision: f94d903985119d3ac00f4528551df947f57b667f Maintainer: takagi Status: ready -->
4
-<!-- CREDITS: hirokawa,mumumu -->
+<!-- EN-Revision: 1d92bcca7524c50fc41056ea4c04e1032eb9e055 Maintainer: takagi Status: ready -->
+<!-- CREDITS: hirokawa,mumumu,jdkfx -->
5
6
<sect1 xml:id="language.oop5.basic" xmlns="http://docbook.org/ns/docbook">
7
<title>クラスの基礎</title>
@@ -380,6 +380,8 @@ bool(true)
380
<![CDATA[
381
<?php
382
echo (new DateTime())->format('Y');
383
+// PHP 8.4.0 以降、囲む括弧は省略可能です。
384
+echo new DateTime()->format('Y');
385
?>
386
]]>
387
</programlisting>
0 commit comments