PHP
downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

runkit_constant_redefine> <runkit_class_emancipate
Last updated: Fri, 10 Oct 2008

view this page in

runkit_constant_add

(PECL runkit:0.7-0.9)

runkit_constant_add define() と同じだが、クラス定数も指定可能

説明

bool runkit_constant_add ( string $constname , mixed $value )

パラメータ

constname

定義する定数名。グローバル定数を表す文字列、あるいは classname::constname 形式でクラス定数を示す。

value

新しい定数に定義する値。 NULL, Bool, Long, Double, String, あるいは Resource のいずれかの型の値。

返り値

成功した場合に TRUE を、失敗した場合に FALSE を返します。



add a note add a note User Contributed Notes
runkit_constant_add
There are no user contributed notes for this page.

runkit_constant_redefine> <runkit_class_emancipate
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | sitemap | contact | advertising | mirror sites