|
Ds\Set::intersectCreates a new set by intersecting values with another set 説明
public Ds\Set Ds\Set::intersect(Ds\Set
$set)
Creates a new set using values common to both the current instance and another
パラメータ
戻り値
The intersection of the current instance and another 例例1 Ds\Set::intersect example 上の例の出力は、 たとえば以下のようになります。
object(Ds\Set)#3 (1) {
[0]=>
int(3)
}
|