|
SplObjectStorage::removeAllExceptRemoves all objects except for those contained in another storage from the current storage Beschreibung
public void SplObjectStorage::removeAllExcept
( SplObjectStorage
$storage
)Removes all objects except for those contained in another storage from the current storage. Parameter-Liste
RückgabewerteEs wird kein Wert zurückgegeben. Beispiele
Beispiel #1 SplObjectStorage::removeAllExcept example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: bool(false) bool(true) |