variant_set
(PHP 5, PHP 7, PHP 8)
variant_set — Assigns a new value for a variant object
Description
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.
来源:PHP Documentation Group · 作者与贡献记录 · CC BY 3.0。离线整理了版式、链接和媒体显示。
