PHP » GoLang |
login |
register |
about
|
GoLang Ds\Set::intersect
request it (378)
GoLang replacement for PHP's Ds\Set::intersect
[edit | history]
Ds\Set::intersect(PECL ds >= 1.0.0) Ds\Set::intersect — Creates a new set by intersecting values with another set Description
public Ds\Set Ds\Set::intersect
( Ds\Set
$set
)
Creates a new set using values common to both the current instance and another
Parameters
Return Values
The intersection of the current instance and another ExamplesExample #1 Ds\Set::intersect() example
<?php The above example will output something similar to: object(Ds\Set)#3 (1) { [0]=> int(3) } |
more
Recently updated
more
Most requested
more
Last requests
|