uopz_function

PECL uopz 1, PECL uopz 2 Deprecated: PECL uopz 5
uopz_function - Creates a function at runtime
Manual
Code Examples

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

Example of uopz_function

Show all examples for uopz_function

PHP Version: