PHP 8.1.0 Beta 2 available for testing


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

ReflectionFunctionAbstract::getExtensionGets extension info


public ReflectionFunctionAbstract::getExtension(): ?ReflectionExtension

Get the extension information of a function.


This function is currently not documented; only its argument list is available.


This function has no parameters.

Return Values

The extension information, as a ReflectionExtension object, or null for user-defined functions.

See Also

add a note add a note

User Contributed Notes

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