CakeFest 2024: The Official CakePHP Conference

ReflectionExtension::isPersistent

(PHP 5 >= 5.4.0, PHP 7, PHP 8)

ReflectionExtension::isPersistentこの拡張モジュールが永続性のあるものかどうかを返す

説明

public ReflectionExtension::isPersistent(): bool

この拡張モジュールが永続性のあるものかどうかを調べます。

php.ini を使って読み込まれている場合、拡張機能は永続性があります。 dl() を使って読み込まれている場合、拡張機能は一時的なもので、永続性はありません。

パラメータ

この関数にはパラメータはありません。

戻り値

この拡張モジュールが extension で読み込まれたものである場合に true、そうでない場合に false を返します。

参考

add a note

User Contributed Notes

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