PHP - Manual: MongoDB\BSON\PackedArray::has
2025-02-27
(mongodb >=1.16.0)
MongoDB\BSON\PackedArray::has — Returns whether a index is present in the array
index
(int)The index to look for in the array.
官方地址:https://www.php.net/manual/en/mongodb-bson-packedarray.has.php