runkit7_function_add Add a new function, similar to create_function &reftitle.description; boolrunkit7_function_add stringfuncname stringarglist stringcode boolreturn_by_reference&null; stringdoc_comment&null; stringreturn_type boolis_strict boolrunkit7_function_add stringfuncname Closureclosure stringdoc_comment&null; stringreturn_type boolis_strict &reftitle.parameters; funcname Name of the function to be created arglist Comma separated argument list code Code making up the function closure A closure that defines the function. return_by_reference Whether the function should return by reference. doc_comment The doc comment of the function. return_type The return type of the function. is_strict Whether the function should behave as if it were declared in a file with strict_types=1 &reftitle.returnvalues; &return.success; &reftitle.examples; A <function>runkit7_function_add</function> example ]]> &example.outputs; &reftitle.seealso; create_function runkit7_function_redefine runkit7_function_copy runkit7_function_rename runkit7_function_remove runkit7_method_add