ReflectionClass::getExtensionName

( excerpt from http://php

public function getExtensionName(): string;

net/manual/en/reflectionclass.getextensionname.php )

Gets the name of the extension which defined the class.

Return Values

  • mixed - The name of the extension which defined the class, or FALSE for user-defined classes.