Results of 1 - 10 of about 596 for Method (0.001 sec.)
- Quickhash | PHP 8.3 7651
- Quickhash はじめに The quickhash extension contains a set of specific strongly-typed classes to deal with specific set and hash implementations. インストール/設定 要件 インストール手順 例 QuickHashIntSet — The QuickHashIntSet class QuickHas
... hIntSet::add — This method adds a new entry to the set QuickHashIntSet::__construct — Creates a new QuickHashIntSet object QuickHashIntSet::delete — ... This method deletes an entry from the set QuickHashIntSet::exists — This method checks whether a key is part of the set QuickHashIntSe ... t::getSize — Returns the number of elements in the set QuickHashIntSet::loadFromFile — This factory method creates a set from a file QuickHashIntSet::loadFromString — This factory method creates a set from a string QuickHashIntSe ...
-
https://man.mtool.work/php/8.3/book.quickhash.html
- runkit7_method_copy — Copies a method from class to another | PHP 8.3 7390
- runkit7_method_copy (PECL runkit7 >= Unknown) runkit7_method_copy — Copies a method from class to another 説明 function runkit7_method_copy ( string $destination_class , string $destination_method_name , string $source_class , string $sourc
... e_method_name = ? ): bool パラメータ destination_class Destination class for copied method destination_method_name Destination meth ... od name source_class Source class of the method to copy source_method_name Name of the method to copy from the source class. If this parameter is omitted, the value of de ... stination_method_name is assumed. 戻り値 例 例1 runkit7_method_copy() example <?php class Foo { function example () { return "foo!\n" ; } } ...
-
https://man.mtool.work/php/8.3/function.runkit7-method-copy.html
- runkit7_method_add — Dynamically adds a new method to a given class | PHP 8.3 7361
- runkit7_method_add (PECL runkit7 >= Unknown) runkit7_method_add — Dynamically adds a new method to a given class 説明 function runkit7_method_add ( string $class_name , string $method_name , string $argument_list , string $code , int $flags
... = RUNKIT7_ACC_PUBLIC , string $doc_comment = null , string $return_type = ? , bool $is_strict = ? ): bool function runkit7_method_add ( string $class_name , string $method_name , Closure $closure , int $flags = RUNKIT7_ACC_PUBLIC , string $doc_comment ... = null , string $return_type = ? , bool $is_strict = ? ): bool パラメータ class_name The class to which this method will be added method_name The name of the method to add argument_list Comma-delimited list of arguments for the newly-crea ... ted method code The code to be evaluated when method_name is called closure A closure that defines the method. flags The type of meth ...
-
https://man.mtool.work/php/8.3/function.runkit7-method-add.html
- runkit7_method_redefine — Dynamically changes the code of the given method | PH... 7338
- runkit7_method_redefine (PECL runkit7 >= Unknown) runkit7_method_redefine — Dynamically changes the code of the given method 説明 function runkit7_method_redefine ( string $class_name , string $method_name , string $argument_list , string $
... = RUNKIT7_ACC_PUBLIC , string $doc_comment = null , string $return_type = ? , bool $is_strict = ? ): bool function runkit7_method_redefine ( string $class_name , string $method_name , Closure $closure , int $flags = RUNKIT7_ACC_PUBLIC , string $doc_com ... nt = null , string $return_type = ? , bool $is_strict = ? ): bool パラメータ class_name The class in which to redefine the method method_name The name of the method to redefine argument_list Comma-delimited list of arguments for the redefined method co ... de The new code to be evaluated when method_name is called closure A closure that defines the method. flags The redefined method can be RUNKIT7_ACC_PUBLIC , RUNKIT7_A ...
-
https://man.mtool.work/php/8.3/function.runkit7-method-redefine.html
- runkit7_method_rename — Dynamically changes the name of the given method | PHP ... 7204
- runkit7_method_rename (PECL runkit7 >= Unknown) runkit7_method_rename — Dynamically changes the name of the given method 説明 function runkit7_method_rename ( string $class_name , string $source_method_name , string $target_method_name ): b
... 現在実行中(もしくはチェーンド)のメソッドを操作することはできません。 パラメータ class_name The class in which to rename the method source_method_name The name of the method to rename target_method_name The new name to give to the renamed method 戻り値 成 ... 功した場合に true を、失敗した場合に false を返します。 例 例1 runkit7_method_rename() example <?php class Example { function foo () { return "foo!\n" ; } } // Rename the 'foo' method to 'bar' runkit7 ... _method_rename ( 'Example' , 'foo' , 'bar' ); // output renamed function echo (new Example )-> bar (); ?> 上の例の出力は以下となり ...
-
https://man.mtool.work/php/8.3/function.runkit7-method-rename.html
- runkit7_method_remove — Dynamically removes the given method | PHP 8.3 6995
- runkit7_method_remove (PECL runkit7 >= Unknown) runkit7_method_remove — Dynamically removes the given method 説明 function runkit7_method_remove ( string $class_name , string $method_name ): bool 注意 : この関数は、 現在実行中(もしくはチェー
... ンド)のメソッドを操作することはできません。 パラメータ class_name The class in which to remove the method method_name The name of the method to remove 戻り値 成功した場合に true を、失敗した場合に false を返します。 例 例1 runki ... t7_method_remove() example <?php class Example { function foo () { return "foo!\n" ; } function bar () { return "bar!\n" ; } } // Re ... move the 'foo' method runkit7_method_remove ( 'Example' , 'foo' ); echo implode ( ' ' , get_class_methods ( 'Example' )); ?> 上の例の出力は以下と ...
-
https://man.mtool.work/php/8.3/function.runkit7-method-remove.html
- ReflectionClass::__toString — ReflectionClass オブジェクトの文字列表現を返す | ... 6891
- ReflectionClass::__toString (PHP 5, PHP 7, PHP 8) ReflectionClass::__toString — ReflectionClass オブジェクトの文字列表現を返す 説明 public function ReflectionClass::__toString (): string ReflectionClass オブジェクトの文字列表現を返します。
... 出力は以下となります。 Class [ <internal:Core> class Exception ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [7] { Property [ <default> protected $message ] Property [ <default> private $string ] Property [ <d ... Property [ <default> protected $line ] Property [ <default> private $trace ] Property [ <default> private $previous ] } - Methods [10] { Method [ <internal:Core> final private method __clone ] { } Method [ <internal:Core, ctor> public method __constru ... ers [3] { Parameter #0 [ <optional> $message ] Parameter #1 [ <optional> $code ] Parameter #2 [ <optional> $previous ] } } Method [ <internal:Core> final public method getMessage ] { } Method [ <internal:Core> final public method getCode ] { } Method [ ...
-
https://man.mtool.work/php/8.3/reflectionclass.tostring.html
- The EventSslContext class | PHP 8.3 6869
- The EventSslContext class (PECL event >= 1.2.6-beta) はじめに Represents SSL_CTX structure. Provides methods and properties to configure the SSL context. クラス概要 final class EventSslContext { /* 定数 */ const int SSLv2_CLIENT_METHOD = 1
... ; const int SSLv3_CLIENT_METHOD = 2 ; const int SSLv23_CLIENT_METHOD = 3 ; const int TLS_CLIENT_METHOD = 4 ; const int SSLv2_SERVER_METHOD = 5 ; const int ... SSLv3_SERVER_METHOD = 6 ; const int SSLv23_SERVER_METHOD = 7 ; const int TLS_SERVER_METHOD = 8 ; const int OPT_LOCAL_CERT = 1 ; const int OPT_ ... プロパティ */ public string $ local_cert ; public string $ local_pk ; /* メソッド */ public function __construct ( string $method , string $options ) } プロパティ local_cert Path to local certificate file on filesystem. It must be a PEM -encoded file w ...
-
https://man.mtool.work/php/8.3/class.eventsslcontext.html
- ReflectionMethod::__construct — ReflectionMethod を作成する | PHP 8.3 6839
- ReflectionMethod::__construct (PHP 5, PHP 7, PHP 8) ReflectionMethod::__construct — ReflectionMethod を作成する 説明 public function ReflectionMethod::__construct ( object | string $objectOrMethod , string $method ) 代替のシグネチャ (名前付
... き引数をサポートしていません): public function ReflectionMethod::__construct ( string $classMethod ) 警告 この代替のシグネチャは PHP 8.4.0 以降で非推奨となりました。 代わりに ReflectionM ... ethod::createFromMethodName() を使用してください。 新しい ReflectionMethod を作成します。 パラメータ objectOrMethod メソッドを含むクラスの名前ある ... いはオブジェクト (クラスのインスタンス)。 method メソッドの名前。 classMethod クラス名とメソッド名を :: で区切ったもの。 エラー / 例外 指定したメソッドが存在しない場合に R ...
-
https://man.mtool.work/php/8.3/reflectionmethod.construct.html
- ReflectionClass::__construct — ReflectionClass を作成する | PHP 8.3 6817
- ReflectionClass::__construct (PHP 5, PHP 7, PHP 8) ReflectionClass::__construct — ReflectionClass を作成する 説明 public function ReflectionClass::__construct ( object | string $objectOrClass ) 新しい ReflectionClass オブジェクトを作成します
... ternal:Core> class Exception implements Stringable, Throwable ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [7] { Property [ protected $message = '' ] Property [ private string $string = '' ] Property [ prote ... ty [ protected int $line = 0 ] Property [ private array $trace = [] ] Property [ private ?Throwable $previous = NULL ] } - Methods [11] { Method [ <internal:Core> private method __clone ] { - Parameters [0] { } - Return [ void ] } Method [ <internal:Co ... re, ctor> public method __construct ] { - Parameters [3] { Parameter #0 [ <optional> string $message = "" ] Parameter #1 [ <optional> int $code = ...
-
https://man.mtool.work/php/8.3/reflectionclass.construct.html