|
Ds\Set::diffCreates a new set using values that aren't in another set 説明
public Ds\Set Ds\Set::diff(Ds\Set
$set)Creates a new set using values that aren't in another set.
パラメータ
戻り値
A new set containing all values that were not in the other 例例1 Ds\Set::diff example 上の例の出力は、 たとえば以下のようになります。
object(Ds\Set)#3 (2) {
[0]=>
int(1)
[1]=>
int(2)
}
|