Results of 1 - 10 of about 1063 for Mixed (0.002 sec.)
- Operator Overloading Magic Methods | PHP 8.3 8902
- 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::__
... hat can be overloaded for testing. 例1 Complete class for operator overloading <?php class OperatorOverloading { protected mixed $value ; //region Standard magic methods public function __get ( string $name ) { return $this -> value ; } public functio ... n __set ( string $name , mixed $value ) { $this -> value = $value ; } public function __construct ( mixed $init = null ) { $this -> value = $init ; } //e ... ndregion //region Arithmetic Operators public function __add ( mixed $val ): int | float { return $this -> value + $val ; } public function __div ( mixed $val ): int | float { return $this -> ...
-
https://man.mtool.work/php/8.3/operator.overloading.html
- The Sequence interface | PHP 8.3 7554
- The Sequence interface (PECL ds >= 1.0.0) はじめに A Sequence describes the behaviour of values arranged in a single, linear dimension. Some languages refer to this as a "List". It's similar to an array that uses incremental integer keys, w
... function apply ( callable $callback ): void abstract public function capacity (): int abstract public function contains ( mixed ...$values ): bool abstract public function filter ( callable $callback = ? ): Ds\Sequence abstract public function find ( ... mixed $value ): mixed abstract public function first (): mixed abstract public function get ( int $index ): mixed abstract publi ... c function insert ( int $index , mixed ...$values ): void abstract public function join ( string $glue = ? ): string abstract public function last (): mixed abst ...
-
https://man.mtool.work/php/8.3/class.ds-sequence.html
- Yaf_Request_Http クラス | PHP 8.3 6887
- Yaf_Request_Http クラス (Yaf >=1.0.0) はじめに クライアントからのあらゆるリクエストは、 Yaf_Request_Http として初期化されます。 URI のクエリ文字列や POST パラメータなどの情報は、このクラスのメソッド経由で取得できます。 注意 : セキュリティの
... __construct ( string $request_uri = ? , string $base_uri = ? ) public function get ( string $name , string $default = ? ): mixed public function getCookie ( string $name , string $default = ? ): mixed public function getFiles (): void public function ... getPost ( string $name , string $default = ? ): mixed public function getQuery ( string $name , string $default = ? ): mixed public function getRaw (): mixed public function ge ... on Yaf_Request_Abstract::clearParams (): ? Yaf_Request_Abstract public function Yaf_Request_Abstract::get ( string $name , mixed $default = ? ): mixed public function Yaf_Request_Abstract::getActionName (): void public function Yaf_Request_Abstract::g ...
-
https://man.mtool.work/php/8.3/class.yaf-request-http.html
- The Vector class | PHP 8.3 6808
- The Vector class (PECL ds >= 1.0.0) はじめに A Vector is a sequence of values in a contiguous buffer that grows and shrinks automatically. It's the most efficient sequential structure because a value's index is a direct mapping to its index
... ly ( callable $callback ): void public function capacity (): int public function clear (): void public function contains ( mixed ...$values ): bool public function copy (): Ds\Vector public function filter ( callable $callback = ? ): Ds\Vector public ... function find ( mixed $value ): mixed public function first (): mixed public function get ( int $index ): mixed public function insert ( int $in ... dex , mixed ...$values ): void public function isEmpty (): bool public function join ( string $glue = ? ): string public function last ...
-
https://man.mtool.work/php/8.3/class.ds-vector.html
- The Deque class | PHP 8.3 6736
- The Deque class (PECL ds >= 1.0.0) はじめに A Deque (pronounced “deck”) is a sequence of values in a contiguous buffer that grows and shrinks automatically. The name is a common abbreviation of “double-ended queue” and is used internally by
... ly ( callable $callback ): void public function capacity (): int public function clear (): void public function contains ( mixed ...$values ): bool public function copy (): Ds\Deque public function filter ( callable $callback = ? ): Ds\Deque public fu ... nction find ( mixed $value ): mixed public function first (): mixed public function get ( int $index ): mixed public function insert ( int $in ... dex , mixed ...$values ): void public function isEmpty (): bool public function join ( string $glue = ? ): string public function last ...
-
https://man.mtool.work/php/8.3/class.ds-deque.html
- SplQueue クラス | PHP 8.3 6550
- SplQueue クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8) はじめに SplQueue クラスは、キューの主要な機能を提供します。 双方向リンクリストのイテレータのモードを SplDoublyLinkedList::IT_MODE_FIFO に設定することで実装しています。 クラス概要 class SplQueu
... nkedList::IT_MODE_DELETE ; public const int SplDoublyLinkedList::IT_MODE_KEEP ; /* メソッド */ public function dequeue (): mixed public function enqueue ( mixed $value ): void /* 継承したメソッド */ public function SplDoublyLinkedList::add ( int $inde ... x , mixed $value ): void public function SplDoublyLinkedList::bottom (): mixed public function SplDoublyLinkedList::count (): int pu ... blic function SplDoublyLinkedList::current (): mixed public function SplDoublyLinkedList::getIteratorMode (): int public function SplDoublyLinkedList::isEmpty (): bool public ...
-
https://man.mtool.work/php/8.3/class.splqueue.html
- SplMaxHeap クラス | PHP 8.3 6249
- SplMaxHeap クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8) はじめに SplMaxHeap クラスは、ヒープの主要な機能を提供し、最大値を先頭に保ちます。 クラス概要 class SplMaxHeap extends SplHeap { /* メソッド */ protected function compare ( mixed $value1 , mixed
... xed $value2 ): int /* 継承したメソッド */ protected function SplHeap::compare ( mixed $value1 , mixed $value2 ): int public function SplHeap::count (): int public function SplHeap::current (): mixed public fu ... nction SplHeap::extract (): mixed public function SplHeap::insert ( mixed $value ): true public function SplHeap::isCorrupted (): bool public function SplHe ... function SplHeap::recoverFromCorruption (): true public function SplHeap::rewind (): void public function SplHeap::top (): mixed public function SplHeap::valid (): bool } 目次 SplMaxHeap::compare — 要素を比較し、ヒープ内の適切な位置に置く 他のマニュア ...
-
https://man.mtool.work/php/8.3/class.splmaxheap.html
- SplMinHeap クラス | PHP 8.3 6249
- SplMinHeap クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8) はじめに SplMinHeap クラスは、ヒープの主要な機能を提供し、最小値を先頭に保ちます。 クラス概要 class SplMinHeap extends SplHeap { /* メソッド */ protected function compare ( mixed $value1 , mixed
... xed $value2 ): int /* 継承したメソッド */ protected function SplHeap::compare ( mixed $value1 , mixed $value2 ): int public function SplHeap::count (): int public function SplHeap::current (): mixed public fu ... nction SplHeap::extract (): mixed public function SplHeap::insert ( mixed $value ): true public function SplHeap::isCorrupted (): bool public function SplHe ... function SplHeap::recoverFromCorruption (): true public function SplHeap::rewind (): void public function SplHeap::top (): mixed public function SplHeap::valid (): bool } 目次 SplMinHeap::compare — 要素を比較し、ヒープ内の適切な位置に置く 他のマニュア ...
-
https://man.mtool.work/php/8.3/class.splminheap.html
- SplStack クラス | PHP 8.3 6249
- SplStack クラス (PHP 5 >= 5.3.0, PHP 7, PHP 8) はじめに SplStack クラスは、スタックの主要な機能を提供します。 双方向リンクリストのイテレータのモードを SplDoublyLinkedList::IT_MODE_LIFO に設定することで実装しています。 クラス概要 class SplSt
... nst int SplDoublyLinkedList::IT_MODE_KEEP ; /* 継承したメソッド */ public function SplDoublyLinkedList::add ( int $index , mixed $value ): void public function SplDoublyLinkedList::bottom (): mixed public function SplDoublyLinkedList::count (): int pu ... blic function SplDoublyLinkedList::current (): mixed public function SplDoublyLinkedList::getIteratorMode (): int public function SplDoublyLinkedList::isEmpty (): bool public ... tion SplDoublyLinkedList::offsetExists ( int $index ): bool public function SplDoublyLinkedList::offsetGet ( int $index ): mixed public function SplDoublyLinkedList::offsetSet ( ? int $index , mixed $value ): void public function SplDoublyLinkedList:: ...
-
https://man.mtool.work/php/8.3/class.splstack.html
- The Map class | PHP 8.3 6063
- The Map class (PECL ds >= 1.0.0) はじめに A Map is a sequential collection of key-value pairs, almost identical to an array used in a similar context. Keys can be any type, but must be unique. Values are replaced if added to the map using t
... : Ds\Map public function filter ( callable $callback = ? ): Ds\Map public function first (): Ds\Pair public function get ( mixed $key , mixed $default = ? ): mixed public function hasKey ( mixed $key ): bool public function hasValue ( mixed $value ): ... = ? ): Ds\Map public function last (): Ds\Pair public function map ( callable $callback ): Ds\Map public function merge ( mixed $values ): Ds\Map public function pairs (): Ds\Sequence public function put ( mixed $key , mixed $value ): void public fun ... ction putAll ( mixed $pairs ): void public function reduce ( callable $callback , mixed $initial = ? ): mixed public function remove ( mixed $k ...
-
https://man.mtool.work/php/8.3/class.ds-map.html