| ユーザフォーラムで議論/質問 | マニュアル検索 | ハイライト | ハイライトオフ | ポータル | php spot |
Ds\Map::diff(PECL ds >= 1.0.0) Ds\Map::diff — Creates a new map using keys that aren't in another map. 説明
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
パラメータ
返り値
The result of removing all keys from the current instance that are
present in a given 例例1 Ds\Map::diff() example
<?php 上の例の出力は、 たとえば以下のようになります。 object(Ds\Map)#3 (1) { [0]=> object(Ds\Pair)#4 (2) { ["key"]=> string(1) "a" ["value"]=> int(1) } } |
各種マニュアル:
PHPマニュアル |
PEARマニュアル |
Smarty(英語)マニュアル |
PHP-GTKマニュアル |
「Ds\Map::diff - Creates a new map using keys that aren't in another map.」をGoogle検索
|