Results of 1 - 10 of about 144 for pair (0.002 sec.)
- The Pair class 9187
- « Ds\Map::xor Ds\Pair::clear » PHP Manual Data Structures The Pair class 検索 The Pair class (PECL ds >= 1.0.0) はじめに A pair is used by Ds\Map to pair keys with values. クラス概要 class Ds\Pair implements JsonSerializable { /* メソッド *
... blic function __construct ( mixed $key = ? , mixed $value = ? ) public function clear (): void public function copy (): Ds\Pair public function isEmpty (): bool public function toArray (): array } 目次 Ds\Pair::clear — Removes all values Ds\Pair::__c ... onstruct — Creates a new instance Ds\Pair::copy — Returns a shallow copy of the pair Ds\Pair::isEmpty — Returns whether the pair is empty Ds\Pair::jsonSerialize — R ... eturns a representation that can be converted to JSON Ds\Pair::toArray — Converts the pair to an array 関連キーワード: Pair pair function class clear copy Returns Map values construct ...
-
https://man.mtool.work/php/8.3/class.ds-pair.html
- The Pair class 9163
- « Ds\Map::xor Ds\Pair::clear » PHP Manual Data Structures The Pair class 検索 The Pair class (PECL ds >= 1.0.0) はじめに A pair is used by Ds\Map to pair keys with values. クラス概要 class Ds\Pair implements JsonSerializable { /* メソッド *
... blic function __construct ( mixed $key = ? , mixed $value = ? ) public function clear (): void public function copy (): Ds\Pair public function isEmpty (): bool public function toArray (): array } 目次 Ds\Pair::clear — Removes all values Ds\Pair::__c ... onstruct — Creates a new instance Ds\Pair::copy — Returns a shallow copy of the pair Ds\Pair::isEmpty — Returns whether the pair is empty Ds\Pair::jsonSerialize — R ... eturns a representation that can be converted to JSON Ds\Pair::toArray — Converts the pair to an array 関連キーワード: Pair pair clear copy values construct mixed isEmpty toArray Struc ...
-
https://man.mtool.work/php/8.3/class.ds-pair.html
- Removes all values 9104
- « Ds\Pair Ds\Pair::__construct » PHP Manual Ds\Pair Removes all values 検索 Ds\Pair::clear (No version information available, might only be in Git) Ds\Pair::clear — Removes all values 説明 public function Ds\Pair::clear (): void Removes all
... values from the pair. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 Ds\Pair::clear() example <?php $pair = new ... \Ds\Pair ( "a" , 1 ); print_r ( $pair ); $pair -> clear (); print_r ( $pair ); ?> 上の例の出力は、 たとえば以下のようになります。 D ... s\Pair Object ( [key] => a [value] => 1 ) Ds\Pair Object ( ) 関連キーワード: Pair clear pair Removes values print construct infor ...
-
https://man.mtool.work/php/8.3/ds-pair.clear.html
- Removes all values 9045
- « Ds\Pair Ds\Pair::__construct » PHP Manual Ds\Pair Removes all values 検索 Ds\Pair::clear (No version information available, might only be in Git) Ds\Pair::clear — Removes all values 説明 public function Ds\Pair::clear (): void Removes all
... values from the pair. パラメータ この関数にはパラメータはありません。 戻り値 値を返しません。 例 例1 Ds\Pair::clear() example <?php $pair = new ... \Ds\Pair ( "a" , 1 ); print_r ( $pair ); $pair -> clear (); print_r ( $pair ); ?> 上の例の出力は、 たとえば以下のようになります。 D ... s\Pair Object ( [key] => a [value] => 1 ) Ds\Pair Object ( ) 関連キーワード: Pair clear pair Removes values パラメータ print Obje ...
-
https://man.mtool.work/php/8.3/ds-pair.clear.html
- Returns a shallow copy of the pair 9010
- « Ds\Pair::__construct Ds\Pair::isEmpty » PHP Manual Ds\Pair Returns a shallow copy of the pair 検索 Ds\Pair::copy (No version information available, might only be in Git) Ds\Pair::copy — Returns a shallow copy of the pair 説明 public funct
... ion Ds\Pair::copy (): Ds\Pair Returns a shallow copy of the pair. パラメータ この関数にはパラメータはありません。 戻り値 Returns a sha ... llow copy of the pair. 例 例1 Ds\Pair::copy() example <?php $a = new \Ds\Pair ( "a" , 1 ); $b = $a -> copy (); $a -> key = "x" ; print_r ( $a ); ... print_r ( $b ); ?> 上の例の出力は、 たとえば以下のようになります。 Ds\Pair Object ( [key] => x [value] => 1 ) Ds\Pair Object ( [key] => a [value] => 1 ) 関連キーワード: Pair copy shallow pair print ...
-
https://man.mtool.work/php/8.3/ds-pair.copy.html
- Returns a shallow copy of the pair 8986
- « Ds\Pair::__construct Ds\Pair::isEmpty » PHP Manual Ds\Pair Returns a shallow copy of the pair 検索 Ds\Pair::copy (No version information available, might only be in Git) Ds\Pair::copy — Returns a shallow copy of the pair 説明 public funct
... ion Ds\Pair::copy (): Ds\Pair Returns a shallow copy of the pair. パラメータ この関数にはパラメータはありません。 戻り値 Returns a sha ... llow copy of the pair. 例 例1 Ds\Pair::copy() example <?php $a = new \Ds\Pair ( "a" , 1 ); $b = $a -> copy (); $a -> key = "x" ; print_r ( $a ); ... print_r ( $b ); ?> 上の例の出力は、 たとえば以下のようになります。 Ds\Pair Object ( [key] => x [value] => 1 ) Ds\Pair Object ( [key] => a [value] => 1 ) 関連キーワード: Pair copy Returns shallow pa ...
-
https://man.mtool.work/php/8.3/ds-pair.copy.html
- Returns whether the pair is empty 8868
- « Ds\Pair::copy Ds\Pair::jsonSerialize » PHP Manual Ds\Pair Returns whether the pair is empty 検索 Ds\Pair::isEmpty (No version information available, might only be in Git) Ds\Pair::isEmpty — Returns whether the pair is empty 説明 public fu
... nction Ds\Pair::isEmpty (): bool Returns whether the pair is empty. パラメータ この関数にはパラメータはありません。 戻り値 Returns true i ... f the pair is empty, false otherwise. 例 例1 Ds\Pair::isEmpty() example <?php $a = new \Ds\Pair ( "a" , 1 ); $b = new \Ds\Pair (); va ... ); var_dump ( $b -> isEmpty ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool(false) bool(true) 関連キーワード: Pair isEmpty pair empty whether dump copy jsonSerialize information available otherwise example ...
-
https://man.mtool.work/php/8.3/ds-pair.isempty.html
- Converts the pair to an array 8868
- « Ds\Pair::jsonSerialize Ds\Set » PHP Manual Ds\Pair Converts the pair to an array 検索 Ds\Pair::toArray (PECL ds >= 1.0.0) Ds\Pair::toArray — Converts the pair to an array 説明 public function Ds\Pair::toArray (): array Converts the pair t
... ed yet. パラメータ この関数にはパラメータはありません。 戻り値 An array containing all the values in the same order as the pair. 例 例1 Ds\Pair::toArray() example <?php $pair = new \Ds\Pair ( "a" , 1 ); var_dump ( $pair -> toArray ()); ?> 上の例の出力 ... は、 たとえば以下のようになります。 array(2) { ["key"]=> string(1) "a" ["value"]=> int(1) } 関連キーワード: pair Pair toArray Converts jsonSerialize Casting supported containing values order example dump ...
-
https://man.mtool.work/php/8.3/ds-pair.toarray.html
- Returns whether the pair is empty 8832
- « Ds\Pair::copy Ds\Pair::jsonSerialize » PHP Manual Ds\Pair Returns whether the pair is empty 検索 Ds\Pair::isEmpty (No version information available, might only be in Git) Ds\Pair::isEmpty — Returns whether the pair is empty 説明 public fu
... nction Ds\Pair::isEmpty (): bool Returns whether the pair is empty. パラメータ この関数にはパラメータはありません。 戻り値 Returns true i ... f the pair is empty, false otherwise. 例 例1 Ds\Pair::isEmpty() example <?php $a = new \Ds\Pair ( "a" , 1 ); $b = new \Ds\Pair (); va ... ); var_dump ( $b -> isEmpty ()); ?> 上の例の出力は、 たとえば以下のようになります。 bool(false) bool(true) 関連キーワード: Pair isEmpty Returns pair empty whether bool パラメータ true false new var dump copy Search jsonSerialize information available ...
-
https://man.mtool.work/php/8.3/ds-pair.isempty.html
- Converts the pair to an array 8832
- « Ds\Pair::jsonSerialize Ds\Set » PHP Manual Ds\Pair Converts the pair to an array 検索 Ds\Pair::toArray (PECL ds >= 1.0.0) Ds\Pair::toArray — Converts the pair to an array 説明 public function Ds\Pair::toArray (): array Converts the pair t
... ed yet. パラメータ この関数にはパラメータはありません。 戻り値 An array containing all the values in the same order as the pair. 例 例1 Ds\Pair::toArray() example <?php $pair = new \Ds\Pair ( "a" , 1 ); var_dump ( $pair -> toArray ()); ?> 上の例の出力 ... は、 たとえば以下のようになります。 array(2) { ["key"]=> string(1) "a" ["value"]=> int(1) } 関連キーワード: array pair Pair toArray Converts パラメータ jsonSerialize Search Set function Casting supported yet 戻り値 containing values order ex ...
-
https://man.mtool.work/php/8.3/ds-pair.toarray.html