variant_set_type
variant_sub
COM Functions
PHP Manual

# variant_set

(PHP 5)

variant_set — Assigns a new value for a variant object

### Descripción

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.

### Lista de parámetros

`variant`

  The variant.

`value`

### Valores retornados

No value is returned.

variant_set_type
variant_sub
COM Functions
PHP Manual