PHP - Manual: SolrObject::offsetExists
2024-11-14
(PECL solr >= 0.9.2)
SolrObject::offsetExists — Checks if the property exists
$property_name
): boolChecks if the property exists. This is used when the object is treated as an array.
property_name
The name of the property.
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/solrobject.offsetexists.php