« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 10 of about 920 for extends (0.003 sec.)
MongoDB Exception Class Tree 6699
« MongoDB\Driver\Exception\WriteException::getWriteResult MySQL » PHP Manual MongoDB\Driver\Exception MongoDB Exception Class Tree 検索 MongoDB Exception Class Tree The class hierarchy for MongoDB exceptions is modeled after that of the SPL ... sses in the extension implement the MongoDB\Driver\Exception\Exception interface. MongoDB\Driver\Exception\LogicException (extends LogicException ) MongoDB\Driver\Exception\InvalidArgumentException (extends InvalidArgumentException ) MongoDB\Driver\Exce ... ption\UnexpectedValueException (extends UnexpectedValueException ) MongoDB\Driver\Exception\RuntimeException (extends RuntimeException ) MongoDB\Driver\Exception\ ... Exception\WriteException (deprecated) MongoDB\Driver\Exception\BulkWriteException 関連キーワード: MongoDB Exception Driver extends Class Tree WriteException classes LogicException InvalidArgumentException UnexpectedValueException RuntimeException deprec ...
https://man.mtool.work/php/8.3/mongodb.exceptions.tree.html
MongoDB Exception Class Tree 6629
« MongoDB\Driver\Exception\WriteException::getWriteResult MySQL » PHP Manual MongoDB\Driver\Exception MongoDB Exception Class Tree 検索 MongoDB Exception Class Tree The class hierarchy for MongoDB exceptions is modeled after that of the SPL ... sses in the extension implement the MongoDB\Driver\Exception\Exception interface. MongoDB\Driver\Exception\LogicException (extends LogicException ) MongoDB\Driver\Exception\InvalidArgumentException (extends InvalidArgumentException ) MongoDB\Driver\Exce ... ption\UnexpectedValueException (extends UnexpectedValueException ) MongoDB\Driver\Exception\RuntimeException (extends RuntimeException ) MongoDB\Driver\Exception\ ... Exception\WriteException (deprecated) MongoDB\Driver\Exception\BulkWriteException 関連キーワード: MongoDB Exception Driver extends Tree WriteException classes LogicException InvalidArgumentException UnexpectedValueException RuntimeException deprecated g ...
https://man.mtool.work/php/8.3/mongodb.exceptions.tree.html
日付・時刻 に関するエラーと例外 5467
« timezone_version_get サポートする日付と時刻の書式 » PHP Manual Date/Time 日付・時刻 に関するエラーと例外 検索 日付・時刻 に関するエラーと例外 DateError (extends Error ) DateObjectError DateRangeError DateException (extends Exception ) Dat ... MalformedIntervalStringException DateMalformedPeriodStringException DateMalformedStringException 関連キーワード: 日付 時刻 extends timezone サポート 書式 Date Time DateError DateObjectError DateRangeError DateException Exception DateInvalidOperationExce ...
https://man.mtool.work/php/8.3/datetime.error.tree.html
日付・時刻 に関するエラーと例外 5397
« timezone_version_get サポートする日付と時刻の書式 » PHP Manual Date/Time 日付・時刻 に関するエラーと例外 検索 日付・時刻 に関するエラーと例外 DateError (extends Error ) DateObjectError DateRangeError DateException (extends Exception ) Dat ... rmedIntervalStringException DateMalformedPeriodStringException DateMalformedStringException 関連キーワード: 日付 時刻 例外 extends timezone get Search サポート 書式 Date Time DateError Error DateObjectError DateRangeError DateException Exception DateInv ...
https://man.mtool.work/php/8.3/datetime.error.tree.html
finalキーワード 5397
« マジックメソッド オブジェクトのクローン作成 » PHP Manual クラスとオブジェクト finalキーワード 検索 finalキーワード キーワード final を前に付けて定義されたメソッドやプロパティ、定数は、子クラスからオーバーライドできません。 クラス自体がfin ... est() called\n" ; } final public function moreTesting () { echo "BaseClass::moreTesting() called\n" ; } } class ChildClass extends BaseClass { public function moreTesting () { echo "ChildClass::moreTesting() called\n" ; } } // Results in Fatal error: Ca ... eyword is redundant final public function moreTesting () { echo "BaseClass::moreTesting() called\n" ; } } class ChildClass extends BaseClass { } // Results in Fatal error: Class ChildClass may not inherit from final class (BaseClass) ?> 例3 finalプロパテ ... ィの例(PHP 8.4.0 以降) <?php class BaseClass { final protected string $test ; } class ChildClass extends BaseClass { public string $test ; } // Results in Fatal error: Cannot override final property BaseClass::$test ?> 例4 fina ...
https://man.mtool.work/php/8.3/language.oop5.final.html
例外 5397
« SplObjectStorage::valid BadFunctionCallException » PHP Manual SPL 例外 検索 例外 目次 BadFunctionCallException BadMethodCallException DomainException InvalidArgumentException LengthException LogicException OutOfBoundsException OutOfRangeE ... on UnderflowException UnexpectedValueException SPL には標準の例外が用意されています。 SPL 例外クラスツリー LogicException (extends Exception ) BadFunctionCallException BadMethodCallException DomainException InvalidArgumentException LengthException OutOf ... RangeException RuntimeException (extends Exception ) OutOfBoundsException OverflowException RangeException UnderflowException UnexpectedValueException 参考 定義済み ... xception OutOfRangeException OverflowException RangeException RuntimeException UnderflowException UnexpectedValueException extends Exception SplObjectStorage valid Search 目次 ...
https://man.mtool.work/php/8.3/spl.exceptions.html
finalキーワード 5327
« マジックメソッド オブジェクトのクローン作成 » PHP Manual クラスとオブジェクト finalキーワード 検索 finalキーワード キーワード final を前に付けて定義されたメソッドやプロパティ、定数は、子クラスからオーバーライドできません。 クラス自体がfin ... est() called\n" ; } final public function moreTesting () { echo "BaseClass::moreTesting() called\n" ; } } class ChildClass extends BaseClass { public function moreTesting () { echo "ChildClass::moreTesting() called\n" ; } } // Results in Fatal error: Ca ... eyword is redundant final public function moreTesting () { echo "BaseClass::moreTesting() called\n" ; } } class ChildClass extends BaseClass { } // Results in Fatal error: Class ChildClass may not inherit from final class (BaseClass) ?> 例3 finalプロパテ ... ィの例(PHP 8.4.0 以降) <?php class BaseClass { final protected string $test ; } class ChildClass extends BaseClass { public string $test ; } // Results in Fatal error: Cannot override final property BaseClass::$test ?> 例4 fina ...
https://man.mtool.work/php/8.3/language.oop5.final.html
例外 5327
« SplObjectStorage::valid BadFunctionCallException » PHP Manual SPL 例外 検索 例外 目次 BadFunctionCallException BadMethodCallException DomainException InvalidArgumentException LengthException LogicException OutOfBoundsException OutOfRangeE ... on UnderflowException UnexpectedValueException SPL には標準の例外が用意されています。 SPL 例外クラスツリー LogicException (extends Exception ) BadFunctionCallException BadMethodCallException DomainException InvalidArgumentException LengthException OutOf ... RangeException RuntimeException (extends Exception ) OutOfBoundsException OverflowException RangeException UnderflowException UnexpectedValueException 参考 定義済み ... xception OutOfRangeException OverflowException RangeException RuntimeException UnderflowException UnexpectedValueException extends Exception SplObjectStorage valid 目次 用意 ツリー 参考 ...
https://man.mtool.work/php/8.3/spl.exceptions.html
クラスの基礎 5258
« はじめに プロパティ » PHP Manual クラスとオブジェクト クラスの基礎 検索 クラスの基礎 class 各クラスの定義は、 class キーワードで始まり、クラス名が続きます。 そしてその後に波括弧のペアが続き、 その中にはクラスのプロパティとメソッドの定義を ... は、 クラス名を生成する有効な任意の式を複数示します。 関数呼び出し、文字列連結、そして ::class 定数です。 <?php class ClassA extends \stdClass {} class ClassB extends \stdClass {} class ClassC extends ClassB {} class ClassD extends ClassA {} function getS ... す: 例6 新しいオブジェクトの作成 <?php class Test { public static function getNew () { return new static(); } } class Child extends Test {} $obj1 = new Test (); // By the class name $obj2 = new $obj1 (); // Through the variable containing an object var_d ... r = function() { return 42 ; }; } } $obj = new Foo (); echo ( $obj -> bar )(), PHP_EOL ; 上の例の出力は以下となります。 42 extends クラスは、宣言部に extends キーワードを含めることで、 他のクラスの定数や、メソッド、 およびプロパティを継承することができま ...
https://man.mtool.work/php/8.3/language.oop5.basic.html
クラスの基礎 5258
« はじめに プロパティ » PHP Manual クラスとオブジェクト クラスの基礎 検索 クラスの基礎 class 各クラスの定義は、 class キーワードで始まり、クラス名が続きます。 そしてその後に波括弧のペアが続き、 その中にはクラスのプロパティとメソッドの定義を ... は、 クラス名を生成する有効な任意の式を複数示します。 関数呼び出し、文字列連結、そして ::class 定数です。 <?php class ClassA extends \stdClass {} class ClassB extends \stdClass {} class ClassC extends ClassB {} class ClassD extends ClassA {} function getS ... す: 例6 新しいオブジェクトの作成 <?php class Test { public static function getNew () { return new static(); } } class Child extends Test {} $obj1 = new Test (); // By the class name $obj2 = new $obj1 (); // Through the variable containing an object var_d ... r = function() { return 42 ; }; } } $obj = new Foo (); echo ( $obj -> bar )(), PHP_EOL ; 上の例の出力は以下となります。 42 extends クラスは、宣言部に extends キーワードを含めることで、 他のクラスの定数や、メソッド、 およびプロパティを継承することができま ...
https://man.mtool.work/php/8.3/language.oop5.basic.html
PREV 1 2 3 4 5 6 7 8 9 10 NEXT