uopz_add_function Adds non-existent function or method &reftitle.description; booluopz_add_function stringfunction Closurehandler intflagsZEND_ACC_PUBLIC booluopz_add_function stringclass stringfunction Closurehandler intflagsZEND_ACC_PUBLIC intall&true; Adds a non-existent function or method. &reftitle.parameters; class The name of the class. function The name of the function or method. handler The Closure that defines the new function or method. flags Flags to set for the new function or method. all Whether all classes that descend from class will also be affected. &reftitle.returnvalues; &return.success; &reftitle.errors; uopz_add_function throws a RuntimeException if the function or method to add already exists. &reftitle.examples; Basic <function>uopz_add_function</function> Usage ]]> &example.outputs; &reftitle.seealso; uopz_del_function uopz_set_return