« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 624 for InvalidArgumentException (0.002 sec.)
Casting 7371
« Componere 関数 Componere\cast_by_ref » PHP Manual Componere 関数 Casting 検索 Componere\cast (Componere 2 >= 2.1.2) Componere\cast — Casting 説明 function Componere\cast ( string $type , object $object ): object パラメータ type A user def ... h a user defined type compatible with Type 戻り値 An object of type Type , cast from object エラー / 例外 警告 Shall throw InvalidArgumentException if the type of object is or is derived from an internal class 警告 Shall throw InvalidArgumentException if Type is an inte ... rface 警告 Shall throw InvalidArgumentException if Type is a trait 警告 Shall throw InvalidArgumentException if Type is an abstract 警告 Shall throw InvalidArgumentExcept ... f Type is not compatible with the type of object 参考 Componere\cast_by_ref 関連キーワード: Componere type cast Type throw InvalidArgumentException Casting user defined compatible derived internal interface trait abstract 参考 ...
https://man.mtool.work/php/8.3/componere.cast.html
Casting 7254
« Componere 関数 Componere\cast_by_ref » PHP Manual Componere 関数 Casting 検索 Componere\cast (Componere 2 >= 2.1.2) Componere\cast — Casting 説明 function Componere\cast ( string $type , object $object ): object パラメータ type A user def ... h a user defined type compatible with Type 戻り値 An object of type Type , cast from object エラー / 例外 警告 Shall throw InvalidArgumentException if the type of object is or is derived from an internal class 警告 Shall throw InvalidArgumentException if Type is an inte ... rface 警告 Shall throw InvalidArgumentException if Type is a trait 警告 Shall throw InvalidArgumentException if Type is an abstract 警告 Shall throw InvalidArgumentExcept ... t compatible with the type of object 参考 Componere\cast_by_ref 関連キーワード: object Componere type cast Type 警告 throw InvalidArgumentException Casting ref user defined compatible Search function string パラメータ 戻り値 例外 derived ...
https://man.mtool.work/php/8.3/componere.cast.html
Casting 7254
« Componere\cast エラー処理 » PHP Manual Componere 関数 Casting 検索 Componere\cast_by_ref (Componere 2 >= 2.1.2) Componere\cast_by_ref — Casting 説明 function Componere\cast_by_ref ( string $type , object $object ): object パラメータ type ... An object of type Type , cast from object , where members are references to object members エラー / 例外 警告 Shall throw InvalidArgumentException if the type of object is or is derived from an internal class 警告 Shall throw InvalidArgumentException if Type is an inte ... rface 警告 Shall throw InvalidArgumentException if Type is a trait 警告 Shall throw InvalidArgumentException if Type is an abstract 警告 Shall throw InvalidArgumentExcept ... ion if Type is not compatible with the type of object 参考 Componere\cast 関連キーワード: Componere type cast Type throw InvalidArgumentException Casting user defined compatible members references derived internal interface trait abstract 参考 ...
https://man.mtool.work/php/8.3/componere.cast_by_ref.html
Casting 7203
« Componere\cast エラー処理 » PHP Manual Componere 関数 Casting 検索 Componere\cast_by_ref (Componere 2 >= 2.1.2) Componere\cast_by_ref — Casting 説明 function Componere\cast_by_ref ( string $type , object $object ): object パラメータ type ... An object of type Type , cast from object , where members are references to object members エラー / 例外 警告 Shall throw InvalidArgumentException if the type of object is or is derived from an internal class 警告 Shall throw InvalidArgumentException if Type is an inte ... rface 警告 Shall throw InvalidArgumentException if Type is a trait 警告 Shall throw InvalidArgumentException if Type is an abstract 警告 Shall throw InvalidArgumentExcept ... e is not compatible with the type of object 参考 Componere\cast 関連キーワード: object Componere type cast Type 警告 throw InvalidArgumentException Casting ref user defined compatible members Search function string パラメータ 戻り値 references ...
https://man.mtool.work/php/8.3/componere.cast_by_ref.html
set フックが定義されていたとしても、それを迂回してプロパティの値を設定する 6858
« ReflectionProperty::setAccessible ReflectionProperty::setRawValueWithoutLazyInitialization » PHP Manual ReflectionProperty set フックが定義されていたとしても、それを迂回してプロパティの値を設定する 検索 ReflectionProperty::setRawValue (PH ... 例 例1 ReflectionProperty::setRawValue() の例 <?php class Example { public int $age { set { if ( $value <= 0 ) { throw new \InvalidArgumentException (); } $this -> age = $value ; } } } $example = new Example (); $rClass = new \ReflectionClass ( Example ::class); $rProp = ... lass -> getProperty ( 'age' ); // フックを経由して値を設定し、例外がスローされます try { $example -> age = - 2 ; } catch ( InvalidArgumentException ) { echo "InvalidArgumentException for setting property to -2\n" ; } try { $rProp -> setValue ( $example , - 2 ); } catch ... ( InvalidArgumentException ) { echo "InvalidArgumentException for using ReflectionProperty::setValue() with -2\n" ; } // しかし、下記は $age に -2 を ...
https://man.mtool.work/php/8.3/reflectionproperty.setrawvalue.html
set フックが定義されていたとしても、それを迂回してプロパティの値を設定する 6807
« ReflectionProperty::setAccessible ReflectionProperty::setRawValueWithoutLazyInitialization » PHP Manual ReflectionProperty set フックが定義されていたとしても、それを迂回してプロパティの値を設定する 検索 ReflectionProperty::setRawValue (PH ... 例 例1 ReflectionProperty::setRawValue() の例 <?php class Example { public int $age { set { if ( $value <= 0 ) { throw new \InvalidArgumentException (); } $this -> age = $value ; } } } $example = new Example (); $rClass = new \ReflectionClass ( Example ::class); $rProp = ... lass -> getProperty ( 'age' ); // フックを経由して値を設定し、例外がスローされます try { $example -> age = - 2 ; } catch ( InvalidArgumentException ) { echo "InvalidArgumentException for setting property to -2\n" ; } try { $rProp -> setValue ( $example , - 2 ); } catch ... ( InvalidArgumentException ) { echo "InvalidArgumentException for using ReflectionProperty::setValue() with -2\n" ; } // しかし、下記は $age に -2 を ...
https://man.mtool.work/php/8.3/reflectionproperty.setrawvalue.html
InvalidArgumentException 6353
« UI\Key UI\Exception\RuntimeException » PHP Manual UI InvalidArgumentException 検索 InvalidArgumentException (UI 1.0.3) はじめに クラス概要 class UI\Exception\InvalidArgumentException extends InvalidArgumentException implements Throwable { ... tion::__toString (): string private function Exception::__clone (): void } 関連キーワード: Exception function string final InvalidArgumentException protected private int Throwable 継承 array Key Search RuntimeException はじめ クラス 概要 class extends implements ...
https://man.mtool.work/php/8.3/class.ui-exception-invalidargumentexception.html
InvalidArgumentException 6353
« UI\Key UI\Exception\RuntimeException » PHP Manual UI InvalidArgumentException 検索 InvalidArgumentException (UI 1.0.3) はじめに クラス概要 class UI\Exception\InvalidArgumentException extends InvalidArgumentException implements Throwable { ... c function Exception::__toString (): string private function Exception::__clone (): void } 関連キーワード: Exception final InvalidArgumentException protected private Throwable 継承 RuntimeException 概要 extends implements プロパティ message code line trace previous getM ...
https://man.mtool.work/php/8.3/class.ui-exception-invalidargumentexception.html
The MongoDB\Driver\Exception\InvalidArgumentException class 6133
« MongoDB\Driver\Exception\ExecutionTimeoutException MongoDB\Driver\Exception\LogicException » PHP Manual MongoDB\Driver\Exception The MongoDB\Driver\Exception\InvalidArgumentException class 検索 The MongoDB\Driver\Exception\InvalidArgumentException ... own when a driver method is given invalid arguments (e.g. invalid option types). クラス概要 class MongoDB\Driver\Exception\InvalidArgumentException extends InvalidArgumentException implements MongoDB\Driver\Exception\Exception { /* 継承したプロパティ */ protected string ... g (): string private function Exception::__clone (): void } 関連キーワード: Exception function MongoDB Driver string final InvalidArgumentException class protected private int invalid 継承 array Throwable ExecutionTimeoutException Search LogicException mongodb はじめ ...
https://man.mtool.work/php/8.3/class.mongodb-driver-exception-invalidargumentexc...
Construct a new Binary 6133
« MongoDB\BSON\Binary MongoDB\BSON\Binary::fromVector » PHP Manual MongoDB\BSON\Binary Construct a new Binary 検索 MongoDB\BSON\Binary::__construct (mongodb >=1.0.0) MongoDB\BSON\Binary::__construct — Construct a new Binary 説明 final publi ... data's type. Defaults to MongoDB\BSON\Binary::TYPE_GENERIC if not specified. エラー / 例外 Throws MongoDB\Driver\Exception\InvalidArgumentException on argument parsing errors. Throws MongoDB\Driver\Exception\InvalidArgumentException if type is not an unsigned 8-bit inte ... ger. Throws MongoDB\Driver\Exception\InvalidArgumentException if type is MongoDB\BSON\Binary::TYPE_UUID or MongoDB\BSON\Binary::TYPE_OLD_UUID and data is not exactly 16 bytes in length ... type parameter defaults to MongoDB\BSON\Binary::TYPE_GENERIC if not specified. PECL mongodb 1.3.0 MongoDB\Driver\Exception\InvalidArgumentException is thrown if type is MongoDB\BSON\Binary::TYPE_UUID or MongoDB\BSON\Binary::TYPE_OLD_UUID and data is not exactly 16 bytes ...
https://man.mtool.work/php/8.3/mongodb-bson-binary.construct.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT