(PHP 5 >= 5.4.0, PHP 7, PHP 8)
ReflectionExtension::isPersistent — Returns whether this extension is persistent
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().
This function has no parameters.
Returns true
for extensions loaded by extension
, false
otherwise.