uopz_backup

(PECL uopz >= 1.0.3) Backup a function void uopz_backup ( string $class, string $function ) void uopz_backup ( string $function ) Backup a function at runtime, to be restored on shutdown Parameters: class The name of the class containing the function to backup function The name of the function Returns:

uopz_compose

(PECL uopz >= 1.0.0) Compose a class void uopz_compose ( string $name, array $classes [, array $methods [, array $properties [, int $flags ]]] ) Creates a new class of the given name that implements, extends, or uses all of the provided classes Parameters: name A legal class name classes An array of class, interface and trait names

uopz_copy

(PECL uopz >= 1.0.4) Copy a function Closure uopz_copy ( string $class, string $function ) Closure uopz_copy ( string $function ) Copy a function by name Parameters: class The name of the class containing the function to copy function The name of the function Returns: A Closure for the specified function

uopz_delete

(PECL uopz >= 1.0.0) Delete a function void uopz_delete ( string $class, string $function ) void uopz_delete ( string $function ) Deletes a function or method Parameters: class void uopz_delete ( string $function ) Deletes a function or method function void uopz_delete ( string $function ) Deletes a function or method

uopz_extend

(PECL uopz >= 1.0.0) Extend a class at runtime void uopz_extend ( string $class, string $parent ) Makes class extend parent Parameters: class The name of the class to extend parent The name of the class to inherit Returns: Examples: uopz_extend()

uopz_flags

(PECL uopz >= 2.0.2) Get or set flags on function or class int uopz_flags ( string $class, string $function, int $flags ) int uopz_flags ( string $function , int $flags ) Get or set the flags on a class or function entry at runtime Parameters: class The name of a class function The name of the function flags

uopz_function

(PECL uopz >= 1.0.0) Creates a function at runtime void uopz_function ( string $class, string $function, Closure $handler [, int $modifiers ] ) void uopz_function ( string $function , Closure $handler [, int $modifiers ] ) Creates a function at runtime Parameters: class The name of the class to receive the new function function The

uopz_implement

(PECL uopz >= 1.0.0) Implements an interface at runtime void uopz_implement ( string $class, string $interface ) Makes class implement interface Parameters: class Makes class implement interface interface Makes class implement interface Returns: Examples:

uopz_overload

(PECL uopz >= 1.0.0) Overload a VM opcode void uopz_overload ( int $opcode, Callable $callable ) Overloads the specified opcode with the user defined function Parameters: opcode A valid opcode, see constants for details of supported codes callable A valid opcode, see constants for details of supported codes Retur

uopz_redefine

(PECL uopz >= 1.0.0) Redefine a constant void uopz_redefine ( string $class, string $constant, mixed $value ) void uopz_redefine ( string $constant , mixed $value ) Redefines the given constant as value Parameters: class The name of the class containing the constant constant The name of the constant value