PHP » GoLang |
login |
register |
about
|
GoLang runkit_function_redefine
request it (406)
GoLang replacement for PHP's runkit_function_redefine
[edit | history]
runkit_function_redefine(PECL runkit >= 0.7.0) runkit_function_redefine — Replace a function definition with a new implementation Description
bool runkit_function_redefine
( string
$funcname
, string $arglist
, string $code
[, bool $return_by_reference = NULL
[, string $doc_comment = NULL
]] )
bool runkit_function_redefine
( string
$funcname
, Closure $closure
[, string $doc_comment = NULL
] )
Parameters
Return Values
Returns Changelog
Examples
Example #1 A runkit_function_redefine() example
<?php The above example will output: Original Testme Implementation New Testme Implementation See Also
|
more
Recently updated
more
Most requested
more
Last requests
|