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 cecdf14 commit 2bd57a5Copy full SHA for 2bd57a5
language/oop5/basic.xml
@@ -1,6 +1,6 @@
1
<?xml version="1.0" encoding="utf-8"?>
2
<!-- $Revision$ -->
3
-<!-- EN-Revision: 1d92bcca7524c50fc41056ea4c04e1032eb9e055 Maintainer: takagi Status: ready -->
+<!-- EN-Revision: 2f85d57a0b5a01b875cbca2b291f04389cf61ac2 Maintainer: takagi Status: ready -->
4
<!-- CREDITS: hirokawa,mumumu,jdkfx -->
5
6
<sect1 xml:id="language.oop5.basic" xmlns="http://docbook.org/ns/docbook">
@@ -16,6 +16,8 @@
16
<para>
17
クラス名には、PHP の<link linkend="reserved">予約語</link>
18
以外でラベルとして有効なあらゆる名前を使用することができます。
19
+ PHP 8.4.0 以降では、アンダースコア (<literal>_</literal>)
20
+ 1文字のみのクラス名は非推奨となりました。
21
有効なクラス名は、先頭が文字あるいはアンダースコアで始まり、
22
その後に任意の数の文字/数字/アンダースコアが続くものです。
23
正規表現で表すと、
0 commit comments