|
SplObjectStorage::removeAllExceptRemoves all objects except for those contained in another storage from the current storage Description
public int SplObjectStorage::removeAllExcept(SplObjectStorage
$storage )Removes all objects except for those contained in another storage from the current storage. Parameters
Return ValuesReturns the number of remaining objects. Examples
Example #1 SplObjectStorage::removeAllExcept example
The above example will output something similar to: bool(false) bool(true) |