|
SplObjectStorage::removeAllExceptRemoves all objects except for those contained in another storage from the current storage Description
public void SplObjectStorage::removeAllExcept
( SplObjectStorage
$storage
)Removes all objects except for those contained in another storage from the current storage. Parameters
Return ValuesNo value is returned. Examples
Example #1 SplObjectStorage::removeAllExcept example
<?php The above example will output something similar to: bool(false) bool(true) |