SplObjectStorage::offsetExists

SplObjectStorage::offsetExists

(PHP 5 >= 5.3.0, PHP 7)

SplObjectStorage::offsetExistsChecks whether an object exists in the storage

Description

public bool SplObjectStorage::offsetExists ( object $object )

Checks whether an object exists in the storage.

Note:

SplObjectStorage::offsetExists() is an alias of 登录查看完整内容