ReflectionExtension::isPersistent

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

ReflectionExtension::isPersistentReturns whether this extension is persistent

Description

public ReflectionExtension::isPersistent(): bool

Check whether the extension is persistent.

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

Parameters

This function has no parameters.

Return Values

Returns true for extensions loaded by extension, false otherwise.

See Also

add a note add a note

User Contributed Notes

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