|
uopz_add_functionAdds non-existent function or method Description
bool uopz_add_function(string
$function , Closure $handler , int &$flags = ZEND_ACC_PUBLIC)bool uopz_add_function(
string $class ,string $function ,Closure $handler ,int &$flags = ZEND_ACC_PUBLIC,int &$all = true ) Adds a non-existent function or method. Parameters
Return Values
Returns Errors/Exceptionsuopz_add_function throws a RuntimeException if the function or method to add already exists. ExamplesExample #1 Basic uopz_add_function Usage
The above example will output: bar See Also
|