Php/docs/function.variant-set

来自菜鸟教程
跳转至:导航、​搜索

variant_set

(PHP 5, PHP 7)

variant_setAssigns a new value for a variant object


说明

variant_set ( variant $variant , mixed $value ) : void

Converts value to a variant and assigns it to the variant object; no new variant object is created, and the old value of variant is freed/released.


参数

variant
The variant.
value


返回值

没有返回值。