|
SplObjectStorage::offsetExistsChecks whether an object exists in the storage Description
public bool SplObjectStorage::offsetExists
( object
$object
)Checks whether an object exists in the storage.
Parameters
Return Values
Returns Examples
Example #1 SplObjectStorage::offsetExists example
<?php The above example will output something similar to: bool(true) bool(false) See Also
|