| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
runkit_function_redefine(PECL runkit >= 0.7.0) runkit_function_redefine — Replace a function definition with a new implementation 説明
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
] )
パラメータ
返り値
成功した場合に 変更履歴
例
例1 A runkit_function_redefine() example
<?php 上の例の出力は以下となります。 Original Testme Implementation New Testme Implementation 参考
|
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「runkit_function_redefine - Replace a function definition with a new implementation」をGoogle検索
|