|
runkit_function_addAdd a new function, similar to create_function Description
bool runkit_function_add
( string
$funcname
, string $arglist
, string $code
[, bool $return_by_reference = NULL
[, string $doc_comment = NULL
]] )
bool runkit_function_add
( string
$funcname
, Closure $closure
[, string $doc_comment = NULL
] )Parameters
Return Values
Returns Changelog
Examples
Example #1 A runkit_function_add example
<?php The above example will output: The value of a is 1 The value of b is 2 See Also
|