Last 5.3 release ever available: PHP 5.3.29 - 5.3 now EOL

variant_set

(PHP 5)

variant_setAssigns 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.

Parameters

variant

The variant.

value

Return Values

No value is returned.

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top