PHP - Manual: hwapi_attribute_new
2024-12-22
(PHP 5 < 5.2.0)
hwapi_attribute_new — Creates instance of class hw_api_attribute
$name
[, string $value
]] ) : HW_API_AttributeCreates a new instance of hw_api_attribute with the given name and value.
name
The attribute name.
value
The attribute value.
Returns an instance of hw_api_attribute.
官方地址:https://www.php.net/manual/en/function.hwapi-attribute-new.php