|
Ds\Set::intersectCreates a new set by intersecting values with another set. Beschreibung
public Ds\Set Ds\Set::intersect
( Ds\Set
$set
)
Creates a new set using values common to both the current instance and another
Parameter-Liste
Rückgabewerte
The intersection of the current instance and another BeispieleBeispiel #1 Ds\Set::intersect example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
object(Ds\Set)#3 (1) {
[0]=>
int(3)
}
|