ReflectionExtension::isPersistent

Returns whether this extension is persistent

Description

public bool ReflectionExtension::isPersistent()

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

  • ReflectionExtension::isTemporary