uopz_function
PECL uopz 1, PECL uopz 2
Deprecated: PECL uopz 5
uopz_function - Creates a function at runtime
Manual
uopz_function(
string$function,
Closure$handler,
[int$modifiers] ): void
voiduopz_function
stringclass
stringfunction
Closurehandler
intmodifiers
Parameters
- class
-
The name of the class to receive the new function
- function
-
The name of the function
- handler
-
The Closure for the function
- modifiers
-
The modifiers for the function, by default copied or ZEND_ACC_PUBLIC
Return Values