GoLang variant_set

request it (297)
GoLang replacement for PHP's variant_set [edit | history]



Do you know a GoLang replacement for PHP's variant_set? Write it!

PHP variant_set

PHP original manual for variant_set [ show | php.net ]

variant_set

(PHP 5, PHP 7)

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.