uopz_set_hook

PECL uopz 5, PECL uopz 6, PECL uopz 7
uopz_set_hook - Sets hook to execute when entering a function or method
Manual
Code Examples

uopz_set_hook( string$function, Closure$hook ): bool
booluopz_set_hook stringclass stringfunction Closurehook

Parameters

class

The name of the class.

function

The name of the function or method.

hook

A closure to execute when entering the function or method.

Return Values

Returns true on success or false on failure.

Related Functions

Example of uopz_set_hook

Show all examples for uopz_set_hook

PHP Version: