(no version information, might be only in CVS)
runkit_method_redefine -- Dynamically changes the code of the given method注意: この関数は、 現在実行中(もしくはチェーンド)のメソッドを操作することはできません。
警告 |
この関数は、 実験的なステータスにあります。これは、この関数の 動作、関数名、ここで書かれていること全てがPHPの将来のバージョンで予告 なく変更される可能性があることを意味します。注意を喚起するとともに自分 のリスクでこの関数を使用してください。 |
The class in which to redefine the method
The name of the method to redefine
Comma-delimited list of arguments for the redefined method
The new code to be evaluated when methodname is called
The redefined method can be RUNKIT_ACC_PUBLIC, RUNKIT_ACC_PROTECTED or RUNKIT_ACC_PRIVATE
注意: This parameter is only used as of PHP 5, because, prior to this, all methods were public.