PHP 8.5.0 Alpha 4 available for testing

ReflectionConstant::__construct

(PHP 8 >= 8.4.0)

ReflectionConstant::__constructReflectionConstant を構築する

説明

public ReflectionConstant::__construct(string $name)

新しい ReflectionConstant を構築します。

パラメータ

name
定数の名前。

エラー / 例外

与えられた定数が存在しない場合は、ReflectionException をスローします。

参考

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top