(PHP 5 >= 5.2.0, PHP 7, PHP 8)
ReflectionFunctionAbstract::getExtension — Gets extension info
public ReflectionFunctionAbstract::getExtension(): ?ReflectionExtension
Get the extension information of a function.
This function has no parameters.
The extension information, as a ReflectionExtension object, or null for user-defined functions.
© 1997–2025 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/reflectionfunctionabstract.getextension.php