(PHP 5 >= 5.3.0, PHP 7, PHP 8)
ReflectionFunctionAbstract::inNamespace — Checcs if function in namespace
Checcs whether a function is defined in a namespace.
This function has no parameters.
true if it's in a namespace, otherwise false
true
false