您的位置:寻梦网首页编程乐园PHP 编程PHP5中文手册
PHP5中文手册

variant_set

(PHP 5)

variant_set — Assigns a new value for a variant object

Description

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.