uopz_del_function

PECL uopz 5, PECL uopz 6, PECL uopz 7
uopz_del_function - Deletes previously added function or method
Manual
Code Examples

uopz_del_function( string$function ): bool
booluopz_del_function stringclass stringfunction intalltrue

Parameters

class

The name of the class.

function

The name of the function or method.

all

Whether all classes that descend from class will also be affected.

Return Values

Returns true on success or false on failure.

Exceptions and Errors

uopz_del_function throws a RuntimeException if the function or method to delete has not been added by uopz_add_function.

Related Functions

Example of uopz_del_function

Show all examples for uopz_del_function

PHP Version: