Results of 1 - 10 of about 142 for equal (0.005 sec.)
- Determines whether an object is equal to the current instance 10267
- « Ds\Hashable Ds\Hashable::hash » PHP Manual Ds\Hashable Determines whether an object is equal to the current instance 検索 Ds\Hashable::equals (PECL ds >= 1.0.0) Ds\Hashable::equals — Determines whether an object is equal to the current in
... stance 説明 abstract public function Ds\Hashable::equals ( object $obj ): bool Determines whether another object is equal to the current instance. This method allows objects to b ... is interface. 注意 : It's guaranteed that obj is an instance of the same class. 警告 It's important that objects which are equal also have the same hash value. See Ds\Hashable::hash() . パラメータ obj The object to compare the current instance to, whi ... ch is always an instance of the same class. 戻り値 true if equal, false otherwise. 関連キーワード: instance Hashable object equal current Determines whether hash equals obj objects class ...
-
https://man.mtool.work/php/8.3/ds-hashable.equals.html
- Determines whether an object is equal to the current instance 10196
- « Ds\Hashable Ds\Hashable::hash » PHP Manual Ds\Hashable Determines whether an object is equal to the current instance 検索 Ds\Hashable::equals (PECL ds >= 1.0.0) Ds\Hashable::equals — Determines whether an object is equal to the current in
... stance 説明 abstract public function Ds\Hashable::equals ( object $obj ): bool Determines whether another object is equal to the current instance. This method allows objects to b ... is interface. 注意 : It's guaranteed that obj is an instance of the same class. 警告 It's important that objects which are equal also have the same hash value. See Ds\Hashable::hash() . パラメータ obj The object to compare the current instance to, whi ... ch is always an instance of the same class. 戻り値 true if equal, false otherwise. 関連キーワード: instance Hashable equal current Determines whether hash equals objects abstract method a ...
-
https://man.mtool.work/php/8.3/ds-hashable.equals.html
- パーサートークンの一覧 10125
- « PHP 型の比較表 ユーザーレベルでの命名の手引き » PHP Manual 付録 パーサートークンの一覧 検索 パーサートークンの一覧 PHP 言語の種々の部分は、内部的に トークン で表現されています。 不正なトークンのシーケンスが含まれるコードスニペットの場合、
... ed token "==", expecting "(" in script.php on line 10." のようなエラーが発生します。 この場合、トークン == が内部的に T_IS_EQUAL として表現されています。 以下の表に、全てのトークンの一覧を示します。 これらは、全て PHP の定数としても利用できます。 注意 ... 宣言 (PHP 8.1.0 以降で利用可能) T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG ( int ) & 型宣言 (PHP 8.1.0 以降で利用可能) T_AND_EQUAL ( int ) &= 代入演算子 T_ARRAY ( int ) array() array() , array 構文 T_ARRAY_CAST ( int ) (array) 型キャスト T_AS ( int ) as ... int ) clone クラスとオブジェクト T_CLOSE_TAG ( int ) ?> or %> HTML からの脱出 T_COALESCE ( int ) ?? 比較演算子 T_COALESCE_EQUAL ( int ) ??= NULL合体代入演算子 (PHP 7.4.0 以降で利用可能) T_COMMENT ( int ) // or #, and /* */ コメント T_CONCAT_EQUAL ( i ...
-
https://man.mtool.work/php/8.3/tokens.html
- パーサートークンの一覧 10125
- « PHP 型の比較表 ユーザーレベルでの命名の手引き » PHP Manual 付録 パーサートークンの一覧 検索 パーサートークンの一覧 PHP 言語の種々の部分は、内部的に トークン で表現されています。 不正なトークンのシーケンスが含まれるコードスニペットの場合、
... ed token "==", expecting "(" in script.php on line 10." のようなエラーが発生します。 この場合、トークン == が内部的に T_IS_EQUAL として表現されています。 以下の表に、全てのトークンの一覧を示します。 これらは、全て PHP の定数としても利用できます。 注意 ... 宣言 (PHP 8.1.0 以降で利用可能) T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG ( int ) & 型宣言 (PHP 8.1.0 以降で利用可能) T_AND_EQUAL ( int ) &= 代入演算子 T_ARRAY ( int ) array() array() , array 構文 T_ARRAY_CAST ( int ) (array) 型キャスト T_AS ( int ) as ... int ) clone クラスとオブジェクト T_CLOSE_TAG ( int ) ?> or %> HTML からの脱出 T_COALESCE ( int ) ?? 比較演算子 T_COALESCE_EQUAL ( int ) ??= NULL合体代入演算子 (PHP 7.4.0 以降で利用可能) T_COMMENT ( int ) // or #, and /* */ コメント T_CONCAT_EQUAL ( i ...
-
https://man.mtool.work/php/8.3/tokens.html
- The Hashable interface 9780
- « Ds\Collection::toArray Ds\Hashable::equals » PHP Manual Data Structures The Hashable interface 検索 The Hashable interface (PECL ds >= 1.0.0) はじめに Hashable is an interface which allows objects to be used as keys. It's an alternative t
... spl_object_hash() , which determines an object's hash based on its handle: this means that two objects that are considered equal by an implicit definition would not be treated as equal because they are not the same instance. hash() is used to return a ... sh value, which determines where it goes in the hash table. While this value does not have to be unique, objects which are equal must have the same hash value. equals() is used to determine if two objects are equal. It's guaranteed that the comparing ... nce of the same class as the subject. インターフェイス概要 interface Ds\Hashable { /* メソッド */ abstract public function equals ( object $obj ): bool abstract public function hash (): mixed } 目次 Ds\Hashable::equals — Determines whether an object i ...
-
https://man.mtool.work/php/8.3/class.ds-hashable.html
- The Hashable interface 9709
- « Ds\Collection::toArray Ds\Hashable::equals » PHP Manual Data Structures The Hashable interface 検索 The Hashable interface (PECL ds >= 1.0.0) はじめに Hashable is an interface which allows objects to be used as keys. It's an alternative t
... spl_object_hash() , which determines an object's hash based on its handle: this means that two objects that are considered equal by an implicit definition would not be treated as equal because they are not the same instance. hash() is used to return a ... sh value, which determines where it goes in the hash table. While this value does not have to be unique, objects which are equal must have the same hash value. equals() is used to determine if two objects are equal. It's guaranteed that the comparing ... nce of the same class as the subject. インターフェイス概要 interface Ds\Hashable { /* メソッド */ abstract public function equals ( object $obj ): bool abstract public function hash (): mixed } 目次 Ds\Hashable::equals — Determines whether an object i ...
-
https://man.mtool.work/php/8.3/class.ds-hashable.html
- Returns a scalar value to be used as a hash value 9436
- « Ds\Hashable::equals Ds\Sequence » PHP Manual Ds\Hashable Returns a scalar value to be used as a hash value 検索 Ds\Hashable::hash (PECL ds >= 1.0.0) Ds\Hashable::hash — Returns a scalar value to be used as a hash value 説明 abstract publi
... e::hash (): mixed Returns a scalar value to be used as the hash value of the objects. While the hash value does not define equality, all objects that are equal according to Ds\Hashable::equals() must have the same hash value. Hash values of equal obje ... e object, such as a public property. Hash table lookups would fail because the hash has changed. 警告 All objects that are equal must have the same hash value. パラメータ この関数にはパラメータはありません。 戻り値 A scalar value to be used as this ob ... struct ( $name , $email ) { $this -> name = $name ; $this -> email = $email ; } /** * Should return the same value for all equal objects, but doesn't have to * be unique. This value will not be used to determine equality. */ public function hash () { ...
-
https://man.mtool.work/php/8.3/ds-hashable.hash.html
- Returns a scalar value to be used as a hash value 9436
- « Ds\Hashable::equals Ds\Sequence » PHP Manual Ds\Hashable Returns a scalar value to be used as a hash value 検索 Ds\Hashable::hash (PECL ds >= 1.0.0) Ds\Hashable::hash — Returns a scalar value to be used as a hash value 説明 abstract publi
... e::hash (): mixed Returns a scalar value to be used as the hash value of the objects. While the hash value does not define equality, all objects that are equal according to Ds\Hashable::equals() must have the same hash value. Hash values of equal obje ... e object, such as a public property. Hash table lookups would fail because the hash has changed. 警告 All objects that are equal must have the same hash value. パラメータ この関数にはパラメータはありません。 戻り値 A scalar value to be used as this ob ... struct ( $name , $email ) { $this -> name = $name ; $this -> email = $email ; } /** * Should return the same value for all equal objects, but doesn't have to * be unique. This value will not be used to determine equality. */ public function hash () { ...
-
https://man.mtool.work/php/8.3/ds-hashable.hash.html
- Operator Overloading Magic Methods 8463
- « インストール手順 出力制御 » PHP Manual Operator Overloading Operator Overloading Magic Methods 検索 Operator Overloading Magic Methods The operator overloading extension allows you to define how an object reacts to operators. This is done
... $a::__bw_and($b) $a::__bw_or($b) $a::__bw_xor($b) $a::__bw_not() $a::__sl($b) $a::__sr($b) Comparison operators: $a::__is_equal($b) $a::__is_not_equal($b) $a::__is_identical($b) $a::__is_not_identical($b) $a::__is_smaller($b) $a::__is_smaller_or_equa ... l($b) $a::__is_greater($b) $a::__is_greater_or_equal($b) $a::__spaceship($b) Incrementing and decrementing operators: $a::__pre_inc() $a::__post_inc() $a::__pre_dec() $a::__po ... _sr ( mixed $val ): int { return $this -> value >> $val ; } //endregion //region Comparison Operators public function __is_equal ( mixed $val ): bool { return $this -> value == $val ; } public function __is_greater ( mixed $val ): bool { return $this ...
-
https://man.mtool.work/php/8.3/operator.overloading.html
- Operator Overloading Magic Methods 8463
- « インストール手順 出力制御 » PHP Manual Operator Overloading Operator Overloading Magic Methods 検索 Operator Overloading Magic Methods The operator overloading extension allows you to define how an object reacts to operators. This is done
... $a::__bw_and($b) $a::__bw_or($b) $a::__bw_xor($b) $a::__bw_not() $a::__sl($b) $a::__sr($b) Comparison operators: $a::__is_equal($b) $a::__is_not_equal($b) $a::__is_identical($b) $a::__is_not_identical($b) $a::__is_smaller($b) $a::__is_smaller_or_equa ... l($b) $a::__is_greater($b) $a::__is_greater_or_equal($b) $a::__spaceship($b) Incrementing and decrementing operators: $a::__pre_inc() $a::__post_inc() $a::__pre_dec() $a::__po ... _sr ( mixed $val ): int { return $this -> value >> $val ; } //endregion //region Comparison Operators public function __is_equal ( mixed $val ): bool { return $this -> value == $val ; } public function __is_greater ( mixed $val ): bool { return $this ...
-
https://man.mtool.work/php/8.3/operator.overloading.html