« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for Overloaded (0.001 sec.)
Operator Overloading for Objects | PHP 8.3 11742
Operator Overloading for Objects はじめに This extension defines and implements operator overloading for objects. It allows defining how an object reacts when an operator is used on it. One example of this is creating a collection type obje ... ct that has the addition operator overloaded to allow adding elements to the collection or adding two collections together. Another example is creating an enhanced str ... ing class that has the multiplication operator overloaded to allow repeating the string a certain number of times. インストール/設定 インストール手順 Operator Overloading Magic Met ...
https://man.mtool.work/php/8.3/book.operator.html
The MongoDB\BSON\Int64 class | PHP 8.3 10263
The MongoDB\BSON\Int64 class (mongodb >=1.5.0) はじめに BSON type for a 64-bit integer. When decoding BSON to PHP data, this class is used when a 64-bit integer cannot be represented as a PHP integer on 32-bit platforms. These objects suppo ... rt overloaded arithmetic , bitwise , and comparison operators. When working with raw BSON data through the MongoDB\BSON\Document , Mongo ... ents the Serializable interface. PECL mongodb 1.16.0 The class can now be instantiated on all platforms. Added support for overloaded arithmetic, bitwise, and comparison operators. PECL mongodb 1.12.0 Implements Stringable for PHP 8.0+. 目次 MongoDB\BSON\I ...
https://man.mtool.work/php/8.3/class.mongodb-bson-int64.html
com クラス | PHP 8.3 7655
com クラス (PHP 4 >= 4.1.0, PHP 5, PHP 7, PHP 8) はじめに com クラスにより、OLE 互換の COM オブジェクトのインスタンスを作成し、 そのメソッドをコールしたりそのプロパティにアクセスしたりすることが 可能となります。 クラス概要 class com extends ... ruct ( string $module_name , array | string | null $server_name = null , int $codepage = CP_ACP , string $typelib = "" ) } Overloaded Methods 返されるオブジェクトは、オーバーロードされたものです。つまり、 PHP 側では通常のクラスのメソッドは見えないということ ...
https://man.mtool.work/php/8.3/class.com.html
Operator Overloading Magic Methods | PHP 8.3 7286
Operator Overloading Magic Methods The operator overloading extension allows you to define how an object reacts to operators. This is done by implementing the following magic methods: Arithmetic operators: $a::__add($b) $a::__sub($b) $a::__ ... that is used in the testing of the operator overloading extension. It overloads all of the possible operators that can be overloaded for testing. 例1 Complete class for operator overloading <?php class OperatorOverloading { protected mixed $value ; //regi ...
https://man.mtool.work/php/8.3/operator.overloading.html
PREV 1 NEXT