|
Ds\Set::diffCreates a new set using values that aren't in another set. Beschreibung
public Ds\Set Ds\Set::diff
( Ds\Set
$set
)Creates a new set using values that aren't in another set.
Parameter-Liste
Rückgabewerte
A new set containing all values that were not in the other BeispieleBeispiel #1 Ds\Set::diff example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
object(Ds\Set)#3 (2) {
[0]=>
int(1)
[1]=>
int(2)
}
|