variant_set Assigns a new value for a variant object


variant_set

(PHP 5)

variant_setAssigns a new value for a variant object

说明

void variant_set ( variant $variant , mixed $value )

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

返回值

没有返回值。


«  variant_round
» variant_set_type
快速导航

Copyright © 2016 phpStudy | 豫ICP备2021030365号-3