|
Ds\Map::diffCreates a new map using keys that aren't in another map. Beschreibung
public Ds\Map Ds\Map::diff
( Ds\Map
$map
)
Returns the result of removing all keys from the current instance that are
present in a given
Parameter-Liste
Rückgabewerte
The result of removing all keys from the current instance that are
present in a given BeispieleBeispiel #1 Ds\Map::diff example
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie:
object(Ds\Map)#3 (1) {
[0]=>
object(Ds\Pair)#4 (2) {
["key"]=>
string(1) "a"
["value"]=>
int(1)
}
}
|