php8.5
Home/ Manual/ reflection / reflectionextension/ ReflectionExtension::isPersistent

ReflectionExtension::isPersistent

PHP function Edit on GitHub ✎

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

Returns whether this extension is persistent

Description

ReflectionExtension::isPersistent(): bool

Check whether the extension is persistent.

An extension is persistent when it is loaded using Ini. An extension is temporary, not persistent, when it is loaded with dl().

Parameters Parameters

Return Values

Returns true for extensions loaded by extension, false otherwise.

See Also

  • ReflectionExtension::isTemporary

Source: reference/reflection/reflectionextension/ispersistent.xml · from the official PHP manual (php/doc-en)