略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: variant_set

2024-12-22

variant_set

(PHP 5, PHP 7, PHP 8)

variant_setAssigns a new value for a variant object

说明

variant_set(variant $variant, mixed $value): void

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.

参数

variant

The variant.

value

返回值

没有返回值。

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.variant-set.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3